1

My company's server uses Linux Redhat Enterprise version. I notice other users' home directories have permission drwxrwxrwx. However, I cannot cd or ls other users' home directories. Why this happens?

More backgrounds: My company has N machines 1, 2, 3, .. , N. Suppose there are userA, userB, userC, userD 4 users. Each user can log on any machine to access his own /home/user[A|B|C|D] directory.(From this behavior, I guess the data in the home directories is stored on a shared drive and then mounted on each machine). In addition, each user can see other users' /home/userA, /home/userB, etc with permission drwxrwxrwx. However, each user cannot cd or ls other users' home directories. What is my company's system setup to achieve this?

  • 1
    Are the home directories stored on a network share? – Jesse_b Oct 19 at 17:54
  • Looks your user lacks this permission. – Vasconcelos1914 Oct 19 at 17:59
  • @Jesse_b I guess the home directories are stored on a network share because my company has many machines and I can access my home folder from any machine for example. – yuj Oct 19 at 18:52
  • @Vasconcelos1914 What do you mean by "your user lacks this permission"? Other user's home directory has drwxrwxrwx permissions so I should be able to access it in theory – yuj Oct 19 at 18:53
  • 1
    In all likelihood, the storage server that's hosting the export with the home directories has ACLs set on the home directories that prohibit anyone but the owner from accessing them. The ACLs are going to override the Unix permissions so the 777 permissions don't matter. Logically, that's what's going on. I can't imagine that your company's IT department or administration would want people to access each other's home directories for the same reason that they wouldn't want everyone to access every network share throughout the company. – Nasir Riley Oct 20 at 1:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.