View previous topic :: View next topic |
Author |
Message |
baf Tux's lil' helper


Joined: 22 Feb 2003 Posts: 126 Location: Swabian Mountains
|
Posted: Sat Jan 14, 2006 4:52 pm Post subject: davfs problem with user account |
|
|
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 |
|
 |
tuxmin l33t


Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Sat Jan 14, 2006 5:05 pm Post subject: |
|
|
The option im your fstab should read "user" not "users".
Hth, Alex!!! _________________ ALT-F4 |
|
Back to top |
|
 |
baf Tux's lil' helper


Joined: 22 Feb 2003 Posts: 126 Location: Swabian Mountains
|
Posted: Sat Jan 14, 2006 5:20 pm Post subject: |
|
|
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 |
|
 |
Mark Clegg Apprentice


Joined: 05 Jan 2004 Posts: 270 Location: ZZ9 Plural Z Alpha
|
Posted: Sat Jan 14, 2006 5:34 pm Post subject: |
|
|
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 |
|
 |
|