I'm using Fedora Core 1.
I would like to mount a windows shared folder at fstab and allowing normal user to have read-write permissions.
I have tried //192.168.0.1/linux /mnt/my_network_share/linux smbfs username=myusername,password=mypassword, default 0 0
//192.168.0.1/linux /mnt/my_network_share/linux smbfs username=myusername,password=mypassword,rw,uid=root,gid=root 0 0
Both of them will mount the drive, but normal users won't be able to write? How to i make it with write permission? What am i missing?
Komal
--- Komal agencies_ad1@sancharnet.in wrote:
I'm using Fedora Core 1.
I would like to mount a windows shared folder at fstab and allowing normal user to have read-write permissions.
I have tried //192.168.0.1/linux /mnt/my_network_share/linux smbfs username=myusername,password=mypassword, default 0 0
//192.168.0.1/linux /mnt/my_network_share/linux smbfs
username=myusername,password=mypassword,rw,uid=root,gid=root
0 0
Both of them will mount the drive, but normal users won't be able to write? How to i make it with write permission? What am i missing?
The permissions of your mount point (/mnt/my_network) should allow write access to the concerned user(s).
HTH.
Nadiem.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 5/30/05, Nadiem knadz555@yahoo.com wrote:
Both of them will mount the drive, but normal users won't be able to write? How to i make it with write permission? What am i missing?
To mount manually using CLI
# mount -t smbfs -o umask=000,username=xxx,password=yyy /server/share /mnt/mountpoint
In fstab
//192.168.0.1/linux /mnt/my_network_share/linux smbfs username=myusername,password=mypassword, umask=000,default 0 0
The permissions of your mount point (/mnt/my_network) should allow write access to the concerned user(s).
HTH.
Nadiem.
Hi Nadiem,
No. My question is after mounting remote share on Linux box only root has read and write access and normal user can only read the content .How to provide normal user read and write access. Should I create group name project and add the users to project, set user’s primary group to project and chgrp of /mn/share to project where I will mount window's share?
Regards,
Komal
--- Komal agencies_ad1@sancharnet.in wrote:
The permissions of your mount point
(/mnt/my_network)
should allow write access to the concerned
user(s).
HTH.
Nadiem.
Hi Nadiem,
No. My question is after mounting remote share on Linux box only root has read and write access and normal user can only read the content .How to provide normal user read and write access. Should I create group name project and add the users to project, set users primary group to project and chgrp of /mn/share to project where I will mount window's share?
Regards,
Komal
Modify your options in fstab as follows:
//192.168.0.1/linux /mnt/my_network_share/linux smbfs username=myusername,password=mypassword,dmask=707,fmask=707,defaults 0 0
This will serve your purpose, but you could still modify 707 to increase security. You could create a group "project" and modify the 707 above to 774 for example.
HTH.
Nadiem.
__________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail