I can confirm this bug, that's a long-known issue, I thought there was
already a bug open for that.

The problem is that access to the public WebDav folder is always done via the 
guest Apache user, and I guess Apache defaults to mapping it to the 'nobody' 
system user when creating new files. See
/usr/share/gnome-user-share/dav_user_2.2.conf
/usr/share/gnome-user-share/dav_groupfile

I'm really not familiar with Apache configuration, but there must be a way of 
telling it to log in as the actual user, or at least to set file permissions to 
this. We could for example use something like an include. ATM there's
    AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd
which is used to set the password for the guest user to the value chosen by the 
user.


Baptiste: what's the point of the information you requested? 
libapache2-mod-dnssd is not installed on my box, but that doesn't prevent the 
share from being advertised on the network, and anyway that's not related to 
permissions AFAICS. 'ps -edf |grep apache2' returns no process, but I guess the 
process is only started when the share is accessed.

** Changed in: gnome-user-share (Ubuntu)
       Status: Incomplete => Triaged

** Summary changed:

- Personal File Sharing / public write directory, wrong permissions
+ Wrong permissions for files uploaded to Public dir (owned by 'nobody')

-- 
Wrong permissions for files uploaded to Public dir (owned by 'nobody')
https://bugs.launchpad.net/bugs/550413
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to