Koozali.org: home of the SME Server

FTP dirs

KoenCalliauw

FTP dirs
« on: July 29, 2003, 07:15:40 PM »
Hi,

Here's what I'd like to accomplish:

I set up a school with e-smith 6.0beta2 and users access their files from home via FTP.  Users can log into the FTP server and see their home directory and their Maildir.  First of all I'd like them to see only their home (avoiding trouble) and 2 other directories.  I want to set up a "Post Room" where everyone has full control over for easily exchanging files and second, I'd like to have them see a "Shared Room" where only the principal and me can write in, the others (teachers) should only be able to read.

My question is:  how? (-:

Thanks in advance,
Koen Calliauw

Nathan Fowler

Re: FTP dirs
« Reply #1 on: July 30, 2003, 03:05:45 AM »
1) If this isn't set up by default on 6.0Beta2, check the forum for a proftpd contributed RPM that should lock the user into their home directory (IE, prevent directory enumeration).  I can't be much help with 6.0Beta2; I've not used it yet.  Not sure if they even use proftpd.

2)  "Post Room" - Create an Ibay called Post Room, create a symbolic link in each users directory to link to the IBAY folder.  Create the symlink relative to the FTP links.

3) Same as #2, however, adjust IBAY permissions to only allow read for students and read/write for teachers.

For help on creating a symbolic link, try "man ln"