[KLUG Members] Windows mounted file permissions

Bruce Smith members@kalamazoolinux.org
Tue, 27 Nov 2001 09:41:44 -0500


> I have mounted some windows shares from my linux box.  The problem is that I
> have to mount them as root (at least I think I have to) and when I login as
> a regular user and cd to the windows shares all the file permissions are set
> to root:root.  How can I mount the shares such that either everyone can use
> the files or set the permissions for a specific user?


If you add the "user" parameter to the options in /etc/fstab then any
user can mount and umount the filesystem.

And (the last time I tried, way back when I had a windows filesystem :)
when a normal user mounts it, the user & group are set to be the same
as the mounting user.

Otherwise you can specifiy options to lock the user and/or group to
a specific user in /etc/fstab.

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------