Bug 159160 - Can't access users home directories
Can't access users home directories
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-05-30 16:51 EDT by David Bentley
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-06 09:50:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
log extract as requested (6.42 KB, text/plain)
2005-06-02 14:59 EDT, David Bentley
no flags Details

  None (edit)
Description David Bentley 2005-05-30 16:51:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
When running selinux policy targeted with Allow Samba to share users directories and Allow users to login with CIFS home diesctoris checked I am now unable to acces a users home directory without now disabling protection for the smbd and nmbd demons.

This did work OK at one point after being fixed erlier in the development cycle but I can't find what bug it was reported under.

But it needs to be fixed again before FC4 release if possible.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
see discription

Actual Results:  Shares are visible but you are unable to acces them.

Expected Results:  Able to acces the share and its contents.

Additional info:
Comment 1 David Bentley 2005-05-30 17:59:58 EDT
Thinking now I am not shure if this did ever work because I think that I am
confusing it with another bug that I reported (157873) where you were unable to 
FTP into users home directories and it was this one that was fixed earlier in
the release cycle.
Comment 2 David Bentley 2005-06-01 07:55:09 EDT
Modified to FC4test3 to bring it to someones attention but the 
selinux-policy-targeted-1.23.16-6 is the current latest from development 

Comment 3 Daniel Walsh 2005-06-02 07:59:39 EDT
Are you seeing any AVC messages in your log files?

Comment 4 David Bentley 2005-06-02 11:23:40 EDT
I will have a further look to see if there are any before I update the system
with todays fixes and report back on what the state of play is both before and
after the update.

I am at work now but will have done the above by about 20:00 BST (19:00 GMT)
Comment 5 David Bentley 2005-06-02 14:59:01 EDT
Created attachment 115103 [details]
log extract as requested

Having had a look at the logs I remembered that I had labeled the users home
directory with "chcon -R -t ftpd_anon_t /home/bentledr" when trying to get ftp
access to the users home directory which was fixed a while ago as a result of a

previous bug report.

So I forced a re-label on next reboot and all is now OK

I assume chcon could have been used to remove the label but the above method
was used in my haste to fix things.

So this is not a bug please feel free to close it.
Comment 6 Daniel Walsh 2005-06-06 09:49:40 EDT
You can use restorecon to fix the labels on a homedir.

restorecon -R -v /home/bentledr would work faster than  a full relable.


Note You need to log in before you can comment on or make changes to this bug.