cancel
Showing results for 
Search instead for 
Did you mean: 

Group Control

 
Highlighted
Frequent Advisor

Group Control

I have a file the owner is root:root ( mode is 644 ) , I want to release read & write permission to a non root user ( eg. admin_usr ) , I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work , can advise if preserve the file mode to 644 , is it ok ? how to do it if I want to have read & write permission in my case ?
5 REPLIES 5
Highlighted
Trusted Contributor

Re: Group Control

Check f.e. http://permissions-calculator.org/

If you want write for the group you need give them the write permissions, in other words you cannot use 644 and have write for the group.

You will need to change to 664 at least.

hth
Stephan
Share what you know, learn what you don't.
Highlighted
Frequent Advisor

Re: Group Control

if I want to preserve 644 , do I have another way ? for example , change the file group to root:ADM etc ?

Thanks
Highlighted
Honored Contributor

Re: Group Control

> if I want to preserve 644 , [...]

Why would you want to do this? As in a
previous thread,

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1460503

you seem to want to keep read-only
permissions, but allow write access. Why?

As previously suggested, ACLs can let you do
things like this, but it's not clear why you
want what you say you want.
Highlighted
Frequent Advisor

Re: Group Control

Thx reply .
Highlighted
Frequent Advisor

Re: Group Control

I will try ACL.