jonandermb
Explorer
- Joined
- Jan 15, 2014
- Messages
- 76
Hi!
I have been using Freenas on a server for some months now and I couldn't be happier.
Now, I want to expand the usage of the system and add a ftp server.
The setup would be as follows: There is a folder, say: /mnt/STORAGE/FTP/ where all the ftp accounts will be hanging from.
So, user jon will have his folder at /mnt/STORAGE/FTP/jon , chrooted so he can not go to the upper level.
Then, I would share /mnt/STORAGE/FTP/ via samba so everyone in my internal network can see and edit all the directories and folders hanging from here.
In a nutshell: Each user that connects via FTP from the outside will only see their home directories, but accessing from inside, via samba, I want to be able to see what has been uploaded by anyone.
Until now, I have been creating users and setting their home directory to /mnt/STORAGE/FTP/<username> but this would mess with the permissions and the samba user wouldn't be able to modify anything under each user's home dir.
Also, when setting the home directory, some hidden files (starting with a dot) are created, which seems unclean.
I ask for your help because I guess I'm not taking the correct approach.
What would you suggest me is the correct way of setting this up?
Thanks!!!
I have been using Freenas on a server for some months now and I couldn't be happier.
Now, I want to expand the usage of the system and add a ftp server.
The setup would be as follows: There is a folder, say: /mnt/STORAGE/FTP/ where all the ftp accounts will be hanging from.
So, user jon will have his folder at /mnt/STORAGE/FTP/jon , chrooted so he can not go to the upper level.
Then, I would share /mnt/STORAGE/FTP/ via samba so everyone in my internal network can see and edit all the directories and folders hanging from here.
In a nutshell: Each user that connects via FTP from the outside will only see their home directories, but accessing from inside, via samba, I want to be able to see what has been uploaded by anyone.
Until now, I have been creating users and setting their home directory to /mnt/STORAGE/FTP/<username> but this would mess with the permissions and the samba user wouldn't be able to modify anything under each user's home dir.
Also, when setting the home directory, some hidden files (starting with a dot) are created, which seems unclean.
I ask for your help because I guess I'm not taking the correct approach.
What would you suggest me is the correct way of setting this up?
Thanks!!!