Results 1 to 4 of 4
I've got the following cifs share listed in my /etc/fstab:
//stonehenge/scolgan /home/sean/Documents/stonehenge cifs rw,noauto,user,sync,credentials=/home/sean/.creds_stonehenge,uid=sean,gid=users,file_mode=075 5,dir_mode=0755 0 0
I can mount this share as root no problem. When trying to mount ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-25-2006 #1
Mounting cifs share as user
I've got the following cifs share listed in my /etc/fstab:
//stonehenge/scolgan /home/sean/Documents/stonehenge cifs rw,noauto,user,sync,credentials=/home/sean/.creds_stonehenge,uid=sean,gid=users,file_mode=075 5,dir_mode=0755 0 0
I can mount this share as root no problem. When trying to mount it as a user (as the 'user' option should allow), I get the following error:
sean@Iago:~> mount /home/sean/Documents/stonehenge/
mount error 1 = Operation not permitted
Refer to the mount.cifs(
manual page (e.g.man mount.cifs)
Anyone have thoughts on this?HP Pavilion dv6000t
Intel Centrino Duo 2.0GHz
nVidia GeForce Go 7400
Fedora 10
----------------------
The real question is what time is it and why the hell am I still screwing around with my computer?
- 01-25-2006 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 678
Error 1 is a permissions or invocation error. I'm going to guess permissions since root works OK. What are the permissions and ownership on "/home/sean/.creds_stonehenge"?
Let us know how you get on
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.
- 01-26-2006 #3
the permissions for the credentials file is:
sean@Iago:~> ls -l .creds_stonehenge
-rw-r--r-- 1 sean users 35 2006-01-25 12:55 .creds_stonehenge
that's everyone with read and the current user (me) with rw. Not sure how this could be affecting it.
Besides, I get the same error when the user and pass are included directly in fstab. Like this:
//stonehenge/scolgan /home/sean/Documents/stonehenge cifs rw,noauto,user,sync,user=scolgan,password=****,uid =sean,gid=users,file_mode=0755,dir_mode=0755 0 0
any other thoughts?HP Pavilion dv6000t
Intel Centrino Duo 2.0GHz
nVidia GeForce Go 7400
Fedora 10
----------------------
The real question is what time is it and why the hell am I still screwing around with my computer?
- 01-29-2007 #4Just Joined!
- Join Date
- Jan 2007
- Posts
- 2
Try this...
Hi!
I had the same problem...This worked for me:
As root: chmod +s /sbin/mount.cifs
EDIT: Oops! only a year to late....
well.. 2006, 2007... the years pass so quick...


Reply With Quote
