file permissions

Lunt, Nick Nick.Lunt at wesleyan.co.uk
Thu Oct 20 10:07:58 UTC 2005


Have you set the acl option in fstab for the file system in question ?

> -----Original Message-----
> From: Muhammad Rizwan [mailto:rizwan at nixpanel.com]
> Sent: 20 October 2005 11:07
> To: redhat-list at redhat.com
> Subject: Re: file permissions
> 
> 
> 
> I am getting following error while running this command:
> 
> [root at 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 at nixpanel.com] 
> > Sent: Thursday, October 20, 2005 2:00 PM
> > To: redhat-list at redhat.com
> > 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd")
are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145.
WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box Basildon SS15 5WQ Telephone: 0870 601 6129
Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority.
Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971.
Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes.

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment.





More information about the redhat-list mailing list