First install acl with sudo apt-get install acl.
then
# setfacl -m u:JOHN:rwx /var/www
usually if you set chmod to 700 only owner can access read/write into
folder.
On Nov 8, 4:54 pm, Garefield <[email protected]> wrote:
> Hello Friends,
>
> I need your help.
> There are three users TOM, JOHN and SMITH. And suppose there is a
> folder /var/www
> I want to give only read access to TOM and read+write access to JOHN
> and no access to SMITH on that folder (/var/www).
> How do i do it? using terminal
> --
> Best Regards,
> LINUXUSER

-- 
FOSS Nepal mailing list: [email protected]
http://groups.google.com/group/foss-nepal
To unsubscribe, e-mail: [email protected]

Mailing List Guidelines: 
http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
Community website: http://www.fossnepal.org/

Reply via email to