In article <(E-Mail Removed)>, Michael Powe wrote:
> following some advice, i tried and failed with the following attempts:
Have you had a look at "man mount" yet? How well do you understand Unix
permissions overall? You might want to read up on that as well (look for
tutorials on the Web, and "man chmod".)
> sudo mount -t smbfs -o credentials=.smb_auth_pdx,dmask=0770,fmask=0770,rw
> //pdxpowem03/NetIQ pdxpowem03
This one would work with appropriate GID (and/or UID) option given. I
use these options with smbfs mounts:
fmask=664,dmask=775,gid=100
where group 100 (users) is a common group with all the users who should
have access to the share. If only one user is accessing it, try this:
fmask=640,dmask=750,uid=1000,gid=1000
UID 1000 is the only user with read-write permission. GID 1000 (in many
distros, users are put in exclusive primary groups where $GID == $UID)
has read-only access, and all others are excluded.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
|