Red Hat Bugzilla – Bug 161684
Some File permissions not being correctly handled by samba
Last modified: 2007-11-30 17:11:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
I upgraded from fc3 to fc4.
I have my user document files on a separate disk so that if something screws up under an install or upgrade then it is easier to recover the files. In this case, the upgrade was a fresh install to a new hard drive so all other data could remain unaffected. On installation, I then tell the system where the old home directories are so it becomes "/home" under the new install. Unfortunately this buggers everything up when i re-install existing users. So, i have to temporarily rename the home directories an manually copy the files across to the new ones that are created as the users are added. I don't like to just upgrade as bugs may exist in the new os your stuffed and can't rollback. (NB there has got to be an easier way)
In my case, the new and old UID's were different though the names were the same; ie user "phill" had a UID 501 in fc3 and under fc4 it was 500. In the first instance, the file/group owner name of each file and directory came up in fc4 as he old id ie 501 not phill. So i consequently renamed everything to "phill"
Finally the problem:
If i copy the directories across to the new user home and share them using samba
I keep getting a "network path not found" error - no matter what i did with file names and permissions. However, creating a new folder and making it a share worked perfectly.
The next step i took was to move a subfolder across to the new created share but was invisible under samba (btw win xp sp2 client). The only way i could make the sub-folder visible was to copy it to a new folder share.
This was pretty consistent as i tested it. However, i am not sure if it is a bug or some silly thing with my setup.
appolgies about the wordiness, hopefully it makes sense
Version-Release number of selected component (if applicable):
latest as of 26/6/05
Steps to Reproduce:
Actual Results: the files became visible under samba
Expected Results: the files/directories should have become accessible after changing ownership
i have managed to get access to the home directory but i cannot access other
network drives. For example i have a HD setup to store backup files and is
mounted under /backup. Under linux access ok. Under samba it is inaccesiible.
not even a link in my home directory will allow me to access the the backup drive
The problem is solve by disabling selinux for samba
setsebool -P smbd_disable_trans 1
but it is still a bug that needs to be resolved rather than worked around
Thanks Phill! I can use Samba again now!
I am seeing the same issue.
This report targets the FC3 or FC4 products, which have now been EOL'd.
Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?
Not sure how to do that.
I have not upgraded fedora yet. so i don't know if it is an issue or not
But it can be closed if necessary
This kind of bug should be fixed in FC6, reopen it if not.