After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751067 - automount of volume sets wrong permissions, can't open any files
automount of volume sets wrong permissions, can't open any files
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-16 18:45 UTC by Chris Murphy
Modified: 2017-02-23 08:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Murphy 2015-06-16 18:45:53 UTC
Summary: System is dual boot Fedora 22 (gnome-shell 3.16.2) and OS X. There is an HFS+ (not journaled) volume that is shared between them. Nautilus automounts this volume, but somehow is telling udisks2 the wrong thing because the permissions are set such that I can't open any files with any applications, and it can't be fixed via the GUI. So I have to restort to the CLI to fix this manually.

I don't actually know if the issue is with Nautilus or udisks2 or something else; and I don't know if the volume format being hFS+ is relevant either.

# journalctl
Jun 15 21:18:15 f22m.localdomain udisksd[1272]: Mounted /dev/sda5 at
/run/media/chris/temphfs on behalf of uid 1000

# mount
/dev/sda5 on /run/media/chris/temphfs type hfsplus
(rw,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2)

[chris@f22m temphfs]$ ls -lhd /run/media/chris/temphfs/
drwxr-xr-x. 1 root root 9 Jun 15 20:12 /run/media/chris/temphfs/
[chris@f22m temphfs]$ getfacl /run/media/chris/temphfs/
getfacl: Removing leading '/' from absolute path names
# file: run/media/chris/temphfs/
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
Comment 1 Chris Murphy 2015-12-20 06:34:53 UTC
The bug here is that udisks2 doesn't use uid= or gid= with HFS+ volumes. It does do this for FAT, and equivalent for NTFS. I can't find an equivalent for ext4, XFS, or Btrfs so I guess we're just somehow stuck not even being able to read files for those file systems? Seems weird.
Comment 2 Chris Murphy 2016-07-20 20:50:16 UTC
Still a problem in Fedora 24 with GNOME 3.20.x.
Comment 4 Chris Murphy 2017-02-23 04:48:40 UTC
Still a problem with Fedora 25, GNOME 3.22.3.
Comment 5 Carlos Soriano 2017-02-23 08:21:57 UTC
Looks like udisk2 problem yes. Closing as NOTGNOME for now.