You are not logged in.
current i am working on setting up a local FTP server for file sharing purpose, but i face one problem, i want to make my ftp server to act like file server, and whoever can create file on it, but only the owner can delete the file.
anyone one know how to set it ? or recommend me other type of file server???
Offline
You can set access rights on exported directory to 1777, should do the trick.
Last edited by briest (2007-04-10 17:57:47)
Offline
1777? then everyone can delete others' file, am i wrong?
Offline
Yes, you are. See man chmod, section "RESTRICTED DELETION FLAG OR STICKY BIT":
For directories, it prevents unprivileged users from removing or renaming a file in the directory unless they own the file or the directory
Looks like it suits your needs.
Offline