Andreas Klein enscribed thusly:
> Hello,
> I_m having trouble with smbmount & WinNT 4.0 SP 4 Workstation.
> Mounting shares on NT from Linux as root is no problem, but
> if I try to mount shares as a normal user, the directory I want
> to mount the share, becomes gid root and cannot be accessed by
> a normal user.
> Is there any configuration to do for this like setting permissions
> in smb.conf ?
> Thanks in advance
You don't say what kernel version you are running. If you are
running a 2.0.x kernel, this information is not going to be totally
accurate (since the smbmount syntax is different).
Add the -d {dir_perms} to the -c "mount {mount_point}" command.
Example:
smbmount //server/share PASSWORD -U USER -c "mount /mnt/winnt -d 755"
A similar option exists for the old smbmount.
> Andreas Klein
> ---
> Sent through Global Message Exchange - http://www.gmx.net
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
(The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!