LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: David Newall <davidn@rebel.net.au>
  To  : zac <daniel@webmedia.com.au>
  Date: Wed, 14 Apr 1999 18:23:13 +0930 (CST)

Re: FTP permissions

On Wed, 14 Apr 1999, zac wrote:
>> Has anyone set-up ftpaccess to restrict people from going back down the
>> directory structure?
> What's wrong with chmod?

chmod cannot be used to stop people from going back down the directory
structure.  If you chmod -r they can still go back down, they just can't
*see* what's back there; but if, for example, you are worried about your
/etc/passwd file, the user can still access it.  If you use chmod -x the
user can't go back down, but then I should say they can't access *anything*
under a directory which has no execute permission.  So if you chmod -x /home,
not only can the user not go back into /home, but the user cannot even go
into /home/theuser.

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page