[clug-talk] mounting question
Hendrik Schaink
hschaink at infovisi.com
Wed May 20 15:48:11 PDT 2009
On debian, the samba fielsystem mount command used to be smbmount, which
is now linked to /sbin/mount.smbfs which in turn is a wrapper for
mount.cifs. Interestingly, the permissions for /sbin/mount.cifs are
'-rwsr-wr-w' which _should_ allow anyone to mount cifs shares.
I suggest mounting using mount.cifs
HTH, Hendrik
Shawn wrote:
> I'm trying to execute the following command in a script:
>
> mount -t cifs -o username=$user,password=$pass //192.168.0.14/c$
> $MOUNTDIR/remote
>
> I'm getting told that only root can do this. The local directory in
> question is owned by my user account, and I need to run the script as
> that user - not as root.
>
> I'm trying to remove the need to use sudo and/or enter passwords here to
> help automate things....
>
> Sooo, what am I missing? Does my user account need to be added to a
> group so it can use mount?
>
> Shawn
More information about the clug-talk
mailing list