*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released

*New 11.3 series Release:
2020-04-16: XigmaNAS 11.3.0.4.7538 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Mount points merge to one or shortcuts possible ?

File transfer protocol.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
ptpstudio
Starter
Starter
Posts: 57
Joined: 15 Apr 2014 07:01
Location: Czech Republic
Status: Offline

Mount points merge to one or shortcuts possible ?

#1

Post by ptpstudio »

Now I know how to a point anonymous users to specific folder like mnt/ftp using commands. But I have 4 disks all have specific mount points then I need anonymous ftp users to see only 3 mount points and one will be hidden from them. How I can do this? Is there any options to use shortcuts like in windows or how I can do this ? Anybody please help ?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2454
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Mount points merge to one or shortcuts possible ?

#2

Post by b0ssman »

why do you need hidden? if they cant access it does it matter?

you could create 3 soft links in their home directory.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

ptpstudio
Starter
Starter
Posts: 57
Joined: 15 Apr 2014 07:01
Location: Czech Republic
Status: Offline

Re: Mount points merge to one or shortcuts possible ?

#3

Post by ptpstudio »

b0ssman wrote:why do you need hidden? if they cant access it does it matter?

you could create 3 soft links in their home directory.
OK I create soft links in anonymous home directory but anonymous do Not see this links only ftp user with login name and password can see it. Why is that?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2454
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Mount points merge to one or shortcuts possible ?

#4

Post by b0ssman »

and they are in the same directory? and have permissions to access symlinks and folders?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

ptpstudio
Starter
Starter
Posts: 57
Joined: 15 Apr 2014 07:01
Location: Czech Republic
Status: Offline

Re: Mount points merge to one or shortcuts possible ?

#5

Post by ptpstudio »

b0ssman wrote:and they are in the same directory? and have permissions to access symlinks and folders?
Of course they are in same directory. Permissions for links are same as for files and folders what anonymous see.Or How to check if anonymous have permissions to symlinks?

User avatar
lux
Advanced User
Advanced User
Posts: 201
Joined: 23 Jun 2012 11:37
Location: Bielefeld, Germany
Contact:
Status: Offline

Re: Mount points merge to one or shortcuts possible ?

#6

Post by lux »

try using "mount_nullfs" - works for me!

Code: Select all

/sbin/mount_nullfs -o ro /mnt/tankX/xxx/ /mnt/ssd/ftp/userX/xxx/
then set Homedirectory for userX "mnt/ssd/ftp/userX"

can't get it running with symlinks...
Home:11.3.x.7014/emb@32GB USB|1270v2@X9SCA-F|ECC32GB|i340-T4[lagg@GS108Tv2&smb-mch]|M1015@IT|9HDD~40TB@3xRaidZ1+1HDD+2SSD i335&i520+1xi800P@ZIL|~44W idle@SS-400FL2|Nanoxia Deep Silence 6B|24/7
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole & Jellyfin @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only

Post Reply

Return to “FTP”