How can I setup FTP?

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

Moderator: Moderators

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

How can I setup FTP?

Post by ViBE »

I would like to share my HDD's content on local mostly but I'm sure that I'm doing something wrong cause nothing happens when I save settings. I found some threads here but those did not help figure out and most of them pretty old. Are there any tutorial here which explains everything about FTP setup?

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: How can I setup FTP?

Post by d3fz »

See if this or this tutorial suits your needs, as these are pretty common scenarios. I use something very similar to this.
Last edited by d3fz on Sun Dec 03, 2017 12:46 pm, edited 1 time in total.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

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

Re: How can I setup FTP?

Post by ViBE »

d3fz wrote:See if this or this tutorial suits your needs, as these are pretty common scenario. I use something very similar to this.
Nothing happens. Nothing saved but the user. I would like to reach the root...

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: How can I setup FTP?

Post by Lantis »

Screenshot and steps taken?
Are you remembering to press “add shared disk” once you enter all setting?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

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

Re: How can I setup FTP?

Post by ViBE »

Lantis wrote:Screenshot and steps taken?
Are you remembering to press “add shared disk” once you enter all setting?
Yes I did. That's why I asking a detailed guide. Maybe Transmission cause something?

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

Re: How can I setup FTP?

Post by ViBE »

back again. i had to change my router, had to change the external HDD. now as i see DLNA and Transmission can write and create files. but somehow if i create a same share like on my old router in the same way i cannot write/copy to the HDD. how the hell should i setup this? i read the Gargoyle guides several times but does not solve this issue. i cannot figure out what goes wrong. my main goal is to share the HDD inside my home network with the devices as anonymous with write permission.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: How can I setup FTP?

Post by ispyisail »

screen shots please of your config so far

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: How can I setup FTP?

Post by Lantis »

I just setup something very simple and tested all permissions, and it works great.

Perhaps Transmission is changing the folder permission on the mount making it inaccessible to the "ftp" user?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

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

Re: How can I setup FTP?

Post by RomanHK »

Look through the ssh PS command, which user started the Transmission service - if it is not root, access will be denied and you will need to make a change to the service user or execute the CHMOD and CHOWN command.

This is just an issue of access rights and we also have to reckon with it in Linux: https://en.wikipedia.org/wiki/File_syst ... ermissions
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 »

ispyisail wrote:screen shots please of your config so far
please clarify which file actually needed.
RomanHK wrote:Look through the ssh PS command, which user started the Transmission service - if it is not root, access will be denied and you will need to make a change to the service user or execute the CHMOD and CHOWN command.

This is just an issue of access rights and we also have to reckon with it in Linux: https://en.wikipedia.org/wiki/File_syst ... ermissions
i guess but why and what set these permissions by default? here's the permissions:

Image

i can write to the "/" from clients via file managers. "media" is where transmission should download, "transmission" contains the configurations.
Lantis wrote:I just setup something very simple and tested all permissions, and it works great.

Perhaps Transmission is changing the folder permission on the mount making it inaccessible to the "ftp" user?
how can i check this?

Post Reply