Bug ID 1089408
Summary Automatic mounting of external exfat volume results in wrong permissions
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter studio@anchev.net
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

STR:

1. Insert an SD card in a USB card reader
2. Open Dolphin and click the link to it
3. ls some files and folders on the card

EXPECTED:
The files and dirs inside the mount dir should be with proper permissions, e.g.
644.

ACTUAL:
All files and dirs show as 700:

[~]: mount | grep sdf
/dev/sdf1 on /run/media/<myusername>/EOS_DIGITAL type fuseblk
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sdf1 on /var/run/media/<myusername>/EOS_DIGITAL type fuseblk
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)

Also the date of the mount dir is 1.1.1970:

[~]: dir /run/media/$USER
total 256
drwx------ 1 <myusername> users 262144 Jan  1  1970 EOS_DIGITAL


ADDITIONAL INFO:
Manual mounting as root results in 777 permissions for all dirs and files. The
procedure followed is:

[~]: su -
Password: 
# umount /dev/sdf1 
# mount | grep sdf
# mount /dev/sdf1 /mnt
FUSE exfat 1.2.7
WARN: '/dev/sdf1' is write-protected, mounting read-only.
# mount | grep sdf
/dev/sdf1 on /mnt type fuseblk
(ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
#

Previously I haven't seen such issue (since openSUSE 13.2 on this machine). I
noticed it just recently. The last time I mounted this same card was in
December 2017 and the permissions were fine.


Link to related forum discussion where it has been suggested that this is a
bug:

https://forums.opensuse.org/showthread.php/530558-Setting-default-permissions-for-removable-drives


You are receiving this mail because: