smbfs and setuid in 5.3
animecowboy at animecowboy.com
animecowboy at animecowboy.com
Wed Dec 1 12:28:41 PST 2004
> Try to use the -u and -g switches to mount_smbfs to specify the user
> that should access the mounted file system.
>
> harti
>
The base directory was already set to the user/group I wanted, makeing the
defaults to -u -g what I wanted. So as an experiement I set the base dir to
root:wheel, and used the -u -g attribs.
The results were the same as before.
Checking with ls -l(as root) shows the base and the files mounted to the correct
user(spamassassin in this case) all with 700. suing to spamassasin and
attempting to list the directory gives me .: Permission denied. unmounting,
setting base dir permissions to 750(or 770) remounting, suing to spamassasin,
ls gives me the contents of the remote mount.
Thank you,
-Brian
More information about the freebsd-current
mailing list