Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
davfs problem with user account
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
baf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Feb 2003
Posts: 126
Location: Swabian Mountains

PostPosted: Sat Jan 14, 2006 4:52 pm    Post subject: davfs problem with user account Reply with quote

hi,
i have a problem mounting a davfs resource which i cannot explain to myself. Here it is:

/etc/fstab:
Code:
http://mediacenter.gmx.net      /mnt/gmx        davfs   noauto,users            0 0

so as root i can do mount /mnt/gmx and am prompted for username and pw, but as a user the following happens:
Code:
baf@baf ~ $ mount /mnt/gmx/
/sbin/mount.davfs: You must be member of group users
baf@baf ~ $ id
uid=500(baf) gid=100(users) groups=10(wheel),18(audio),27(video),35(games),100(users),408(scanner)
baf@baf ~ $

could anyody explain to me why i get this error despite being in the users group?

thanks for help
baf
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Sat Jan 14, 2006 5:05 pm    Post subject: Reply with quote

The option im your fstab should read "user" not "users".


Hth, Alex!!!
_________________
ALT-F4
Back to top
View user's profile Send private message
baf
Tux's lil' helper
Tux's lil' helper


Joined: 22 Feb 2003
Posts: 126
Location: Swabian Mountains

PostPosted: Sat Jan 14, 2006 5:20 pm    Post subject: Reply with quote

i tried this, too.
but the manpage of mount.davfs says that "user" and "users" have the same effect.
i rather wonder why the message claims my user be not in group users.

anyway thanks
Back to top
View user's profile Send private message
Mark Clegg
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 270
Location: ZZ9 Plural Z Alpha

PostPosted: Sat Jan 14, 2006 5:34 pm    Post subject: Reply with quote

The difference between "user" and "users" in fstab, is that "user" allows anybody to mount the device, and only the mounting user (or root) to unmount it. "users" allows anybody to mount and unmount. - ie not necessarily the same user.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum