Red Hat Bugzilla – Bug 4645
smbmount no longer allows to set smbfs group/permissions
Last modified: 2008-05-01 11:37:51 EDT
samba + samba-client 2.0.5a-1 (update)
It used to be possible (2.0.3a, RH 6.0) to set the
group and permissions for files and directories with
smbmount ... -c "mount -g smb -d 700 -f 600"
This is still stated in the man page, but smbmount no
longer has a -c option. smbmnt is even less featureful -
other than the required -s option it has nothing useful in
terms of options.
The current smbmount seems to have reverted to the behaviour
of RH5.x, without however having -g -d -f.
Another thing is that for the past so many years the
smbfs/smbmount has a very strong tendancy to assign dates
like 1917 to files/diretories. This causes a lot of problems
later as these dates are illegal under Unix.
Yes, this was changed in samba; as such, we probably won't change
it back. Sorry.
I haven't noticed strange timestamps here with it, though.
Are you mounting NT server filesystems with the Win95 workarounds
enabled in the kernel? That could cause strange timestamp
We probably should have mentioned that the command line options
did change in the advisory, yes.
As for the Win95 workaround/NT conflict, this should be fixed
with kernels >= 2.2.10, as they enable/disable the workarounds
automatically on a per-share basis.