You are not logged in.

#1 2012-10-04 16:09:34

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,031

[solved] Can't mount webdav with davfs2 as user

I'm trying to mount a webdav as a regular user. I've followed the wiki exactly but when I try to mount the folder in the end, I receive the error that I'm not part of the network group, even though I am.

$ mount owncloud                                                              
/sbin/mount.davfs: user brandon must be member of group network 

The "groups" command gives different results depending on if I specify my username or not. I have no idea what that means. Yes, I'm logged in as my user right now.

$ grep network /etc/group                                                     
network:x:90:brandon 
$ groups
lp wheel games video audio optical storage power users 
$ groups brandon
lp wheel games network video audio optical storage power users

/etc/fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
UUID=3fa4e144-f611-41a1-b4c2-26ce420988a3 /home ext4 defaults,user_xattr,noauto,x-systemd.automount 0 1
UUID=7bdd4db2-9ac0-421e-be0a-c8c1e570f1b0 /boot ext2 defaults,noauto,x-systemd.automount 0 1
UUID=829e16e6-1aaa-46b3-a6bb-be4b2c0c55c4 swap swap defaults 0 0
UUID=a43acc63-12e3-4b75-a09a-e3a5f1ace586 / ext4 defaults 0 1
http://xxxx.somewhere.org/files/webdav.php /home/brandon/owncloud davfs user,noauto,uid=brandon,file_mode=600,dir_mode=700 0 1

My spider senses are telling me that it's somehow polkit related but my attempts to find anything about mounting or dav in the XML vomit of the NetworkManager policy file has led me nowhere. Seems like I'm missing something obvious. Any ideas?

Last edited by jakobcreutzfeldt (2012-10-04 16:17:38)

Offline

#2 2012-10-04 16:18:33

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,031

Re: [solved] Can't mount webdav with davfs2 as user

Nevermind, I asked too soon. I simply had to log out and then log back in again to apply the group change.

Now formatting my harddrive and banishing myself to Windows 3.11.

Offline

Board footer

Powered by FluxBB