I used to set the mounting on network through ubuntu several time. But manually. This time I will put it into fstab. I did it once before with slackware and it worked. But now in ubuntu 6.10 I failed. There is an error message like this:
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
I m using this command in the /etc/fstab
//192.168.0.2/data /mnt/data cifs credentials=/home/me/.passwo,rw,users 0 0
And I created .passwo file fill with
They are the samba password setting from the source machine.
But like I said it failed. So I wonder and try to make a new way. I mount them manually through the terminal. And it worked.
So crazy thought, I check the permission of my .passwo file. It was rwx-r-r
hmh so I will change it into Rwx-rx-rx and see what happen.
#sudo chmod 755 .passwo
And re-mount the fstab by
#sudo mount -a
and it worked.
So that’s the problem.