Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up a Fedora 12 server. I have a root (/) partition where the boot (/boot) partition is mounted and then a separate partition (/files) for separating home directories and shares away from the other partitions.

The filesystem mounts fine and users can be created to have home directories in /files/home/[user] just fine. However, when I log in (or ssh in) as one of those users, I get an error saying "Cannot chdir in to /files/home/[user]: permission denied". However, once logged in, I can "cd /files/home/[user]" just fine. If I create a user under the default /home using the same process, everything works as expected.

The same goes for when I try and browse a share in windows; I can see the shares, but cannot access them.

The permissions and owners on /files and /files/home are the same as /home. When the user is created, the user directory owner and permissions are also the same.

How can I set the /files partition up so that it can be used as a home directory and for samba sharing rather than using the root (/) partition?

Thanks.

share|improve this question
up vote 1 down vote accepted

Turned off selinux.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .