chmod question

vshah

Lifer
Sep 20, 2003
19,003
24
81
i have an open ftp account....basically ppl can upload whatever they want.

BUT, i want the permissions to be set so that once a file is uploaded, it cannot be deleted. how can i do this?

tia,
-Vivan
 

PicHold

Member
Jan 12, 2005
153
0
0
Make multiple FTP accounts for said server. If you are personally hosting it, you can do so in the FTP server options. Make one account with full access, and one with write, but not delete.
 

vshah

Lifer
Sep 20, 2003
19,003
24
81
all i can do is adjust folder permissions through direct-admin...i don't have shell access
 

PicHold

Member
Jan 12, 2005
153
0
0
So you have given ftp access to your webserver? If so, you will need to modify the FTP accounts. Don't give out a master account for it. Make a specific FTP account with less abilities.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Zugzwang152
Originally posted by: n0cmonkey
Strict umask maybe? Preferably one that removes the write permission. 222 maybe.

why give owner only 2 permission? :confused:

Because I don't have enough experience with FTP servers to know who owns files on an anonymous FTP. It'll make sure no one can delete anything, I think. It should only give people read access.