GNOME Bugzilla – Bug 569395
permissions for samba mounts are incorrect
Last modified: 2018-09-21 16:37:45 UTC
As reported for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/308299/ (I am also affected), upon mounting samba shares through places -> network > windows network the owner group and permissions of files are set incorrectly: -rwx------ 1 drew drew (drew is my login name) but they should be like this: -rwxrwSrwx 1 root root (that is wht ls reports when I mount the share with smbmount) I do not exactly know what is the problem but some programs are not able to use the shares corretly, for example cdemu but alledgedly also songbird.
This is a bit tricky. First of all we're not enabling posix extensions (bug 562029), so I don't think we get the right uid/gid at all. Furthermore, even if we got those, when exporting this in the fuse UI we can't just directly map the uid/gid to local users, as there is no guarantee that the user databases are the same.
I have a remote directory mounted using ssh which gets the wrong permissions. It seems that I have 700 access with me as the owner, in reality I'm not the owner and I only have read access in the folder. This causes openoffice 3.1 to always complain that there are a lock on the file, asking me to confirm and open read only. The result is the same, I open the document read only, but I always get an extra popup. //Mattias
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/80.