Results 1 to 5 of 5
Hi guys
i have a fedora in my system and i am using it as a ftp server.
i want to create 5 diffrent users , where each one can ...
- 01-14-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 5
hOW to do this??
Hi guys
i have a fedora in my system and i am using it as a ftp server.
i want to create 5 diffrent users , where each one can upload his files in one file (this file is common for all of them )
what i wana do is to let eveyone can upload his file , and the others can download it but they cant delete it or modofiy it .
can someone please let me know how to do this?
thanks
- 01-15-2007 #2
So what you want is 5 users. Each user can upload their files to a particular directory, but they cannot affect any files but their own in that directory?
This is precisely what the sticky bit is for. As you (should) know, write permissions on a directory allow users to create and delete files inside that directory. The sticky bit on a directory means that only the file's owner, directory's owner, and the superuser can delete or rename files inside of that directory.
So basically, you want the permissions of the directory to be:
rwxrwxrwt # t = sticky bit
Owner: rootDISTRO=Arch
Registered Linux User #388732
- 01-16-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 5
Hi
thanks alot for your answer but i have a problem to chmod the file
i tried this command and it didnt work
chmod rwxrwxrwt # t filename
is that what you mean??
thanks
- 01-16-2007 #4
The permissions of the directory should be 1777:
Code:chmod 1777 directory
DISTRO=Arch
Registered Linux User #388732
- 01-16-2007 #5Just Joined!
- Join Date
- Jan 2007
- Posts
- 5
Thanks alot , Woking 100%


Reply With Quote