[Samba] mounting windows share as smbfs

Andrew Bartlett abartlet at samba.org
Thu Dec 1 01:23:34 GMT 2005


On Wed, 2005-11-30 at 16:20 -0800, Nikki wrote:
> When I mount the Windows share it works, but only root is allowed write
> permission in the directory created.  How can I allow any user write
> permission?  I have tried everything I could find in the archive, and on
> google.  surely someone has had to do this before?
> 
> The windows machine is XP, I'm using Fedora Core 4.
> 
> The entry in fstab is:
> //$fileServer/$share   /usr/local/apache2/htdocs/$share    smbfs
> username=$name, password=$password 0 0
> 
> I realize this is a mounting issue, but I'm mounting it as smbfs, which
> makes it also a Samba issue.  Doesn't it?  There aren't any issues with
> directories not created by the Samba daemon.

See the uid and gid options, but you really should use the cifs vfs,
because smbfs is deprecated and has known issues.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051201/69de4edc/attachment.bin


More information about the samba mailing list