Silviu Marin-Caea wrote:
James Ogley wrote:
It says "only root can do that"
Add the user option to the options list for the mount points in /etc/fstab
No /etc/fstab involved.
I want to be able to mount as user any share, from any server, at any time, without editing /etc/fstab.
mount -t smbfs //server/share /local/mount/point -o username=silviu,workgroup=WIN
As I said, this used to work by seting SUID on smbmnt and smbumount.
You need to use the follow parameters, after the username uid=[user number] gid=[grop number] And the directory will be to this user!!!! -- ------------------------------------------------------ Una prensa libre es el gran enemigo de los dictadores. Independientemente de sus abusos, sus debilidades, sus errores. Una prensa libre es la gran aliada y defensora de la democracia. Charlos S. Shapiro Embajador de USA en la Rep. de Venezuela Martes, 20 de Mayo 2003