View Single Post
Old 17-11-2007, 00:36   #7
dragon
cf.mega poster
 
dragon's Avatar
 
Join Date: Jan 2004
Posts: 3,424
dragon has reached the bronze age
dragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze agedragon has reached the bronze age
Re: Secure files on an FTP server

Quote:
Originally Posted by Gavin View Post
Actually, i'm not sure... I think it depends on the server setup.

I don't think the FTP ACL maps over to the linux ACL so the owner of the file would be the user who executed the FTP daemon.
Depends on the ftp server.

I know linux servers running cpanel and pure-ftpd as the ftp server map it to the account holders user name.

try chmod 700 (i think) (owner RWX .group --- and public ---)
or Chmod 500 (i think) (owner RW- Group --- and public ---)
Chmod 600 (i think) (owner R-X Group --- public ---)

R= read
W = Write
X = execute
- = No permission.
__________________
It's Not a Bug It's a 'Feature'
dragon is offline   Reply With Quote