CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Server Support
   ls permission error

 

  Bottom    Previous Topic    Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  oliverleach
      oliverleach
ls permission error
#2
Newbie
Joined: 2012/1/19
From
Posts: 1
Hi,

I have configured and setup up centos to join AD using autofs to mount remote home directories. One of the servers, server1, has an issue - here is what I think the problem is

When I go to server1, I get a error when trying to run ls in my home directory

ls: .: Permission denied

When I run ls -lha on the home directory of the user, I see the GID of the group instead of the group name "domain users". All other servers show domain users and the group owner of the directory. Here is the output of the directory with the permissions error

drwxrwx--x 3 16777217 16777220

When I run wbinfo --group-info=domain\ users I get this

domain users:x:16777218:

So the problem appears to be that the gid on the home directory does not match the gid of the domain users group on server1

If I run getent group on server1 I get this

domain users:x:16777218:

How can I change this so the GID on server1 for domain users matches the GID of the remote home directory?


Cheers,

Oli
Posted on: 2012/1/19 2:53
Create PDF from Post Print
Top
Subject Poster Date
     Re: ls permission error pschaff 2012/1/19 21:54
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com