Re: file permissions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 2003-10-09 at 13:22, Michael S. Dunsavage wrote:
> How can I set specific user permissions on a file or dir like I can in MS?
> 
> 
> For instance:
> 
> John needs read/write/executable,  but everyone else just needs read.
> 

Simple and quick

John needs to own the file

chown John (file or dir)

Then permissions

Directory:
chmod 755 dir

or 

file:

chmod 644 file



> Also how can I set ftp so you can upload but cannot delete?
> 
On the upload directory

If it's owned by ftpuser (or what ever user owns the ftp root.)

chmod 733 uploads/

They'll be able to enter the directory, upload to it, but not list or
download files.

> 
> Thank you.
> -- 
> Michael S. Dunsavage
-- 
Michael Gargiullo <mgargiullo@xxxxxxxxxxxxx>
Warp Drive Networks


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux