Is it possible for a regular non-root user to use mount.cifs? I'm sick and tired of mounting SMB shares with smbfs as it fails rather often.
I've tried using /etc/samba/smbfstab but all my shares are then mounted as root, despite me using user=user,password=password,rw.
I've heard much good about cifs, but I can't for the life of me make it work. Everything is always mounted as root, which wont fly in the enviroment i'm in.
Hope someone can post a few pointers.
Thomas
ps. today I mount all SMB shares with a small shell script placed in /home/user/.kde/Autostart/ containing the following:
smbmount //server/public /home/thomas/tsl_public -o iocharset=iso8859-1,codepage=cp850,username=thomas,password=pass,uid=thomas,gid=users
smbmount //server/coding /home/thomas/tsl_coding -o iocharset=iso8859-1,codepage=cp850,username=thomas,password=pass,uid=thomas,gid=users
smbmount //server/tl_backup /home/thomas/tsl_backup -o iocharset=iso8859-1,codepage=cp850,username=thomas,password=pass,uid=thomas,gid=users
smbmount //server/thomas /home/thomas/tsl_thomas -o iocharset=iso8859-1,codepage=cp850,username=thomas,password=pass,uid=thomas,gid=users
smbmount //server/calendar /home/thomas/tsl_calendar -o iocharset=iso8859-1,codepage=cp850,username=thomas,password=pass,uid=thomas,gid=users
smbmount //server/vl_backup /home/thomas/tsl_vivian -o iocharset=iso8859-1,codepage=cp850,username=vivian,password=pass,uid=vivian,gid=users
This works like a charm, except when smbfs craps out on me, and refuses to either transfer files, delete files or just do generel file-related stuff.