What's new

FTP and partitions

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

pieter532

Occasional Visitor
Hi,

I have one 4Tbyte disc and 2 partitions connected to my RT-AX88U (version:3.0.0.4.388_24209). I would like to use FTP so I enable FTP and created an FTP-user (Menu "USB-application" - tab "FTP share").

I disable all subfolders of all the (sub)folders on one partition. After this FTP-user log in in via FTP this user can see the file structure of both partitions. And I would like that a specific FTP-user can only see one partition with its folders.

Is it possible to create an FTP-user that can see only one partition?

Best regards
 
The ASUS instructions does not mention anything about not showing a partition. It would also be ok if folder could be not shown.
The "NO" (see autorisation) only allows us to disable browsing that folder. Not "not showing".

I have two partitions. One folder on each partition but I can not configure the FTP-server so its only showing one folder.
 
The ASUS instructions does not mention anything about not showing a partition. It would also be ok if folder could be not shown.
The "NO" (see autorisation) only allows us to disable browsing that folder. Not "not showing".
I'm quite familiar with Synology NAS "Access-Control List" (ACL). I routinely give a user specific file folder access and 'hide' all other folders not within the file path.

As you rightfully point out, 'No' (or none/deny) would typically mean no visibility as it does on my NAS, which was the reason for my saying "it would seem so". But then, Asus is not saying they conform to full Linux ACL functionality.

Without direct experience with Asus ACL functions/features, the best I can advise is to play with it. But I would not be surprized that Asus will not give you the ACL capabilities you seek and that a real NAS will.

Added...
Less than $200: Synology 2-bay DiskStation DS223j (Diskless) https://www.amazon.com/dp/B0C8814GKB?tag=snbforums-20
 
Last edited:
I have two partitions. One folder on each partition but I can not configure the FTP-server so its only showing one folder.
It is not possible to hide subdirectories of the root directory in stock Asus firmware. FYI This is normal behaviour for traditional ftp servers.
 
@ColinTaylor so stock Asus firmware does not support this.
And does the ASUS Merlin firmware support this feature (hidden partitions and/or folders)?
 
@ColinTaylor so stock Asus firmware does not support this.
And does the ASUS Merlin firmware support this feature (hidden partitions and/or folders)?
Merlin's firmware is the same as stock by default. However, Merlin is customisable so you could hide specific file/directory names by modifying vsftpd.conf. Alternatively you could install a completely different FTP server through Entware, but then you'd have to configure it entirely from the command line.
 
Last edited:
Thanks @ColinTaylor I will start with the Merlin's firmware.
And didn't thought of that by installing a different FTP server (good alternative ;0)
 
Last edited:
Merlin's firmware is the same as stock by default. However, Merlin is customisable so you could hide specific file/directory names by modifying vsftpd.conf. Alternatively you could install a completely different FTP server through Entware, but then you'd have to configure it entirely from the command line.
Hi @ColinTaylor - thank for your help.

I updated to Merlin's firmware and used the /jffs/configs/vsftpd.conf.add file to configure that an FTP-user so he can only see one partition and one folder on that partition.
I used, in the vsftpd.conf.add file, the variables "deny_file" and "hide_file" to realise this.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top