[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] mount problem
And Lo! The Great Prophet Darrell Blake uttered these words of wisdom:
> I've got a bit of a problem when mounting devices. For some reason if they are
> mouted by root I can't read them as a user. I noticed that my windows drive
> in my fstab was mounted but I couldn't read it. It looked like this...
.
.
.
> I know that I shouldn't really be able to mount devices as user but if I mount
> them as root I can't read them. It's quite important that I can read them
> because I have a small samba network and everyone needs to be able to read
> the windows drive. I tried unmounting the device as root and then mounting it
Look at the options "uid", "gid", "fmask" and "dmask". Reading the manpage
for smbmount, saying uid=0,gid=0,fmask=644,dmask=755 in your options might
do the job[1] (if I'm reading the man page correctly). Consult the manpages
for more details :)
Chris...
[1] All files will have ownership root:root, files have permissions 644,
directories 755.
--
\ Chris Johnson \ NP: Therapy - 11. Turn
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.