Results 1 to 4 of 4
hiya,
When connecting to a Windows NETBIOS share with the mount command, eg:
mount -tsmbfs //server/share /mnt/server_share -o -username=xyz
Is there anyway that i can make the share readonly from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-29-2003 #1Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
Readonly SMB connections?
hiya,
When connecting to a Windows NETBIOS share with the mount command, eg:
mount -tsmbfs //server/share /mnt/server_share -o -username=xyz
Is there anyway that i can make the share readonly from the side of the linux client?
ie, atm it is read and write access the above command provides me with, what do i need to do (without modifying the windows machine) to my command to make the mount read only?
Jason
- 05-30-2003 #2Linux Engineer
- Join Date
- Mar 2003
- Location
- U.S.A.
- Posts
- 1,025
Don't know if it will work or not since most share info. out on the net is connecting a win box to a linux share not ther other way around but have you tried -r ?
see http://us2.samba.org/samba/docs/man/smbmnt.8.htmlDan
\"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"
- 05-31-2003 #3Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
i just had a look at the script i am using, currently im using just "mount" as opposed to "smbmnt"
I will have a go using smbmnt, cheers dude
Jason
- 08-13-2003 #4Just Joined!
- Join Date
- Aug 2003
- Posts
- 5
You can always shared the name as readonly on the smb.conf
# Share readonly to john and group engineer
[application]
comment = engineer
path = /home/engineer
public = no
writable = no
printable = no
valid users = john,@engineer


Reply With Quote
