try using autofs.
----- Original Message ----
From: James Pearson <james-p@xxxxxxxxxxxxxxxxxx>
To: centos@xxxxxxxxxx
Sent: Wednesday, June 4, 2008 19:42:18
Subject: [CentOS] Mounting cifs shares by non-root users on CentOS 4.6
I'm trying to set up mounting of a Windows share for non-root users via
/etc/fstab on a CentOS 4.6 box - I've followed the instructions at:
<http://wiki.centos.org/TipsAndTricks/WindowsShares>
Using something like the /etc/fstab example given in the wiki page
(with, of course, using a valid share, username and password for my set up):
//winbox/getme /mnt/win cifs
user,uid=500,rw,suid,username=sushi,password=yummy 0 0
When as a non-root user I do:
% mount /mnt/win
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Running mount as root works fine, but I can not get it to work for
non-root users.
Any ideas?
Thanks
James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
From: James Pearson <james-p@xxxxxxxxxxxxxxxxxx>
To: centos@xxxxxxxxxx
Sent: Wednesday, June 4, 2008 19:42:18
Subject: [CentOS] Mounting cifs shares by non-root users on CentOS 4.6
I'm trying to set up mounting of a Windows share for non-root users via
/etc/fstab on a CentOS 4.6 box - I've followed the instructions at:
<http://wiki.centos.org/TipsAndTricks/WindowsShares>
Using something like the /etc/fstab example given in the wiki page
(with, of course, using a valid share, username and password for my set up):
//winbox/getme /mnt/win cifs
user,uid=500,rw,suid,username=sushi,password=yummy 0 0
When as a non-root user I do:
% mount /mnt/win
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Running mount as root works fine, but I can not get it to work for
non-root users.
Any ideas?
Thanks
James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos