1838122 Members
3796 Online
110124 Solutions
New Discussion

directory rights

 
Angela Swyers_1
Frequent Advisor

directory rights

I have created a new directory that I need to have an existing user to have rwx permissions to it. I have a new user that I need to have rwx permissions to that directory, but ONLY that direcotry on the server. The group of the old user has too much privledges on the server so I have created a new group and added the new user to it. It is the group of that directory and the old user is the owner with 770 on it. Yet when I touch a file as the old user the rights are 000. How do I fix this?
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: directory rights

What's the umask for the olduser? What happens if you add the olduser to the new group?
Angela Swyers_1
Frequent Advisor

Re: directory rights

The umask is 007. The old user is a memeber of the new group.
Peter Godron
Honored Contributor

Re: directory rights

Angela,
could you create an acl (Access control list) detailing access for the two users?
Regards
V. Nyga
Honored Contributor

Re: directory rights

Hi,

have you tried to add the old user to the new group?
You can add one user to more groups.
Then create a symbolic link from /etc/group to /etc/logingroup.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Angela Swyers_1
Frequent Advisor

Re: directory rights

Yes I have already added the old user to the new group.
V. Nyga
Honored Contributor

Re: directory rights

Have you created /etc/logingroup?
*** Say 'Thanks' with Kudos ***