Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

Turned off selinux.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.