RE: Even better way
Posted: 12/27/2000 11:49:57 AMBy: Comfortably Anonymous
Times Read: 1,716
Likes: 1 Dislikes: 0
Topic: Linux
The smbmount in the previous command sets the permissions so that only root has write access to the share. The following command sets some additional information to give members of a certain group (wheel in this case) read/write to the share, while forbidding any access to users who are not members of wheel.
(All this should be on one line)
mount -t smbfs -o username=NTUserName,workgroup=NTDomainName,gid=wheel,rw,dmask=770,fmask=770
//NTServerName/ShareName /mnt/MountPoint
(All this should be on one line)
mount -t smbfs -o username=NTUserName,workgroup=NTDomainName,gid=wheel,rw,dmask=770,fmask=770
//NTServerName/ShareName /mnt/MountPoint
Rating: (You must be logged in to vote)