LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   how is it possible to stop access to few folder with FTP? (https://www.linuxquestions.org/questions/linux-security-4/how-is-it-possible-to-stop-access-to-few-folder-with-ftp-461432/)

dussel 07-06-2006 04:41 AM

how is it possible to stop access to few folder with FTP?
 
Hello all,

Hope that someone can help me with this one, have not been able to find out if it is possible or not...

I have a ftp user that can access around 50 sub-directories in /home/user1.

Okay, now to the problem. I want to create a new user that only can access 5 of these sub directories with fully permissions and my normal user should still have full rights to all directories.

Have anyone a clue how to solve it?

All help are appreciated!

Cheers!

Dussel

raskin 07-06-2006 04:53 AM

As far as I remember, it is done the same way as with simple, non-ftp permissions. Create new user, remove read for others on all folders except ones you want to show. If you need more, consider groups. man chmod, man chown, man usermod, man chgrp.


All times are GMT -5. The time now is 11:44 AM.