Re: file permissions

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

 



I am getting following error while running this command:

[root@Rizwan root]# setfacl -m u:rizkhan:rwx,u:root:rx   test
setfacl: Option -m: Invalid argument near character 3

An other thing is if i execute this command then what 'll happen with
its previous permissions. Lets say if user rizwan was having permissions
before running above mentioned command, then what 'll happen with his
permisions. Would it remain save or not?

Thanks

On Thu, 2005-10-20 at 13:58, SaN wrote:
> You can use file based  ACL i.e. setfacl to set ACL
> and getfacl to get the ACLs from the file
> 
> setfacl -m u:user1:rwx,u:user2:rx,user3:rxw   dir1
> getfacl dir1
> 
> rgds
> Sandy
> 
> -----Original Message-----
> From: Muhammad Rizwan [mailto:rizwan@xxxxxxxxxxxx] 
> Sent: Thursday, October 20, 2005 2:00 PM
> To: redhat-list@xxxxxxxxxx
> Subject: file permissions
> 
> 
> Hello
> 
> I want to give different permissions on same
> file/directory to 2 or more users. How i can do that? 
> Plz keep in mind that all these users may or may be
> member of same group. 
> 
> Any idea?
> 
> Thanks

-- 
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