LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-06-2006, 04:41 AM   #1
dussel
Member
 
Registered: Dec 2004
Distribution: SuSE 9.X, SuSE 10, SLES 9,RedHat, Feodora Gentoo, Solaris, and more
Posts: 50

Rep: Reputation: 15
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
 
Old 07-06-2006, 04:53 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
folder access folder taze Linux - Security 7 03-19-2006 08:05 PM
"Mount" a folder into my ftp folder ? 0001001 Linux - General 3 11-27-2005 04:23 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
FTP access to home folder deWin Linux - Networking 5 04-26-2004 01:45 AM
how do i stop ftp ? timmy01 Linux - Software 2 09-06-2003 09:52 AM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration