How can I setup FTP?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: How can I setup FTP?

Post by RomanHK »

Yes, note that the media and transmission folder has write permissions only for root users and other read-only users.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: How can I setup FTP?

Post by RomanHK »

:idea: You can fix it:

Code: Select all

chmod -R 0777 /tmp/usb_mount/dev_sda1/media
chmod -R 0777 /tmp/usb_mount/dev_sda1/transmission
chown -R root.root /tmp/usb_mount/dev_sda1/media
chown -R root.root /tmp/usb_mount/dev_sda1/transmission
But keep in mind that any manipulation with folders can change rights (when creating).
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

ViBE
Posts: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: How can I setup FTP?

Post by ViBE »

RomanHK wrote:Yes, note that the media and transmission folder has write permissions only for root users and other read-only users.
i forgot to attach this but before i modify permission setting could you please check these?

Image

but before i cap this i modified Transmission's configuration. so i had to move to the new router and i changed the settings by comparing with the old one. the old Transmission configuration does not contained any permission settings while the new one has:

Code: Select all

	option user 'transmission'
	option group 'transmission'
i commented these out first time and then Transmission created it's folder as root. now i took a try and deleted the folder and set the original permissions in the configuration and let it recreate things. now it looks like this:

Image

i guess "transmission" folder is okay. it's for the torrent configurations, no user files there. should i change the overall permissions for every folder as you advised? cause transmission operating well as i see the only problem is that it cannot download till i don't set the right access to "media" and subfolders.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: How can I setup FTP?

Post by RomanHK »

Now you have to play it, the same rights (0777) should be on other folders as well.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Post Reply