I want a simple way to mount a CIFS file system that I can run as a user.
There seems to be considerable confusion between the mount man page and the mount.cifs man page as to what can be done and what can't be done.
According to the mount man page I can add a line to /etc/fstab as follows (or something like, the syntax may well be wrong) :-
//192.168.1.10/C /home/chris/xp cifs noauto,user 0 0
The 'user' option is supposed to allow a user to mount the file system. However if I say "mount /home/chris/xp" I get:-
mount error 1 = Operation not permitted Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Referring to the mount.cifs(8) manual page as requested is not very enlightening!
Running "mount /home/chris/xp" as root works (I have to admit I only just tried) so the entry in /etc/fstab must be about right.