Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Ille Dulane on November 13, 2001, 06:53:06 AM

Title: user files exposure & ftp
Post by: Ille Dulane on November 13, 2001, 06:53:06 AM
I am running sme v5. I set up an ftp ibay. My problem is that when people ftp in they can browse and see my users directories. They cannot access these folders but I don't want anything visible to them except the specific ftp directory I give them access to.

I set permissions by creating an ftp group separate from other users. I gave access to this ftp ibay only to ftp users in this group. If they browse to a higher directory they can see the names of accounts.

How can I stop this.

Thanks in advance.
Title: Re: user files exposure & ftp
Post by: Freddan on November 13, 2001, 07:09:11 PM
I'm just an expert but try to download putty.exe and connect as root. Run midnight commander (mc). Now change your folders with chmod and chdg.

/ Fredrik
Title: Re: user files exposure & ftp
Post by: Freddan on November 13, 2001, 07:09:25 PM
I'm not an expert but try to download putty.exe and connect as root. Run midnight commander (mc). Now change your folders with chmod and chdg.

/ Fredrik
Title: Re: user files exposure & ftp
Post by: Freddan on November 13, 2001, 07:10:37 PM
Sorry... I mean I am NOT an expert...
Title: Re: user files exposure & ftp
Post by: Ille Dulane on November 14, 2001, 02:57:17 AM
Fredrik,

Thanks so much for the reply to my question.

I hate to be a pest but I am still somewhat lost. I got into mc but I can't figure for sure what to do there. Pathetic huh.

If you can provide further guidance I'd really appreciate it.

Thanks
Title: Re: user files exposure & ftp
Post by: Freddan on November 14, 2001, 12:28:10 PM
Ok, go with the arrows to exemple home/e-smith/files/primary
now press F9 to get the pull down menu... go to file-chOwn and set the group membership and access. You may also want to change chmod that control the rights. You have to do this on folders as well as files.

/ Freddan
Title: Re: user files exposure & ftp
Post by: Freddan on November 14, 2001, 12:31:03 PM
Another thing I have done to make the users come directly to the files and not thier home directorys is to enter as root:

cd /
cd etc
vi passwd

and remove the path to thier user home directory.

/ Fredrik