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. Nikki -- 1500 years ago, everybody knew the Earth was the centre of the Universe. 500 years ago, everybody knew the Earth was flat. 15 minutes ago, you knew that people were alone on this planet. Imagine what you'll know tomorrow.
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
> 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?Run "man smbmount" - have a look at the uid= and gid= options. They will allow you to set the owner of all the files to someone else. You may also want to try the fmask= and dmask= options, they'll allow you to set the permissions of the mounted files (this is how you can give all people write access to the mounted files.) Cheers, Adam.