NFS/Samba Ownership on Red Hat 6.3
Hi
I am experiencing an issue with NFS and/or Samba on Red Hat 6.3. I have an NFS share mounted from our DEV machine to the QA machine called transfers. A user created a folder on the DEV machine via a Samba share and the permissions / ownership were set correctly on that machine. On the QA machine the contents of the transfer folder have incorrect ownership - the user is correct but the group is incorrectly showing as nobody instead of domain users. See below: Code:
drwxrwxr-x. 8 proivck nobody 4.0K Nov 28 11:20 . If I shown a file in the transfer folder to have the domain users group it does not return an error but remains as nobody. I am able to create files in the transfer folder from windows explorer but cannot delete them afterwards and they have the nobody group. Files I create in my home directoy via windows explorer are created with the correct group, as are files in other samba shares. Does anyone know what to change and where to get the client machine to recognise the group correctly? Cheers Simon |
Simon, did you check, is there SGID set on transfer folder on QA machine? Once check permissions of transfer folder and see if there's "s" set in group's permission column on tranfer folder. Also check what's transfer folder's group.
|
Quote:
The permissions on DEV for the transfer folder are as follows: Code:
drwxrwxr-x. 8 proivck domain users 4.0K Nov 28 11:20 transfer Cheers Simon |
I have gotten this working - it appears to have been a problem with the domain in idmap although I do not know why - both machines are in the same domain so I should not have had to override the default setting. I have now set the domain and it is working correctly.
Thanks Simon |
All times are GMT -5. The time now is 04:51 AM. |