[Samba] Linux permissions not appearing under kernel 2.6
Phill Gillespie
it at snipef.org
Fri Apr 1 13:23:11 GMT 2005
I have three machine mounting a samba share on a debian server running
3.0.11 (just updated as 3.0.10 has some serious problems). There's an XP
box, and two Ubuntu (debian) PCs, one with Warty (kernel 2.4.21) and
Hoary (kernel 2.6.4 / 5). Both Ubunutu machines have the following
entry in fstab:
\\Server\Documents /home/phill/Documents smbfs
user,uid=nobody,gid=phill,guest 0 0
and both are running smbfs, libsmbclient, smbclient and samba-common
3.0.7-1-ubuntu6.
Basically with Warty and even windows I get the correct file permissions
from my shared drive, e.g.
-rwxr-xr-x 1 nobody phill 11K 2005-02-17 18:14 documents.sxw
-r-xr-xr-x 1 nobody phill 16K 2005-01-18 15:34 timesheet.sxw (this file
is read only as it is on the server)
Under Hoary I just get:
-rwxr-xr-x 1 nobody phill 11K 2005-02-17 18:14 documents.sxw
-rwxr-xr-x 1 nobody phill 16K 2005-01-18 15:34 timesheet.sxw
i.e. write access for all files regardless (of course this write access
fails but it means that docs don't come up as read only)
The user gets rwx permissions on every file regardless of what it says
on the server. This doesn't happen under Warty nor the windows PC, they
both display the properties correctly.
Can anyone explain this / confirm it / point me to the solution?
Thanks...
P h i l l
More information about the samba
mailing list