This seems similar to what I want to do. I have a small user base (4) at the moment!
In /etc/skel/ I have added Public /Public/ftp /Public/incomming
What I'd like is to is this, for existing users and users I may add in the future.
I run an sftp/ftp server, in these I have incomming (I know its spelt wrong)
in which there are folders jono johnh etc
I need incomming "mounted" in home/$user/Public/incomming and only $user incomming folder write-able by the owner.
At present I manually write the xtra bits to fstab.
Code:
/home/incomming /home/ftp/incomming none rw,bind 0 0
/home/ftp /home/jono/Public/ftp none rw,bind 0 0
/home/incomming /home/jono/Public/incomming none rw,bind 0 0
/home/incomming /home/johnh/incomming none rw,bind 0 0
/home/ftp/ /home/johnh/ftp none rw,bind 0 0
/home/incomming /home/jackief/incomming none rw,bind 0 0
/home/ftp/ /home/jackief/ftp none rw,bind 0 0
/home/ftp/ /home/annon none rw,bind 0 0
/home/ftp /home/jeffw/documents/ftp none rw,bind 0 0
/home/incomming /home/jeffw/documents/incomming none rw,bind 0 0
any clues as to how to automate this?
Bookmarks