Yesterday something happened. I was configuring a HUION tablet, as described here and when i finally was working I realized I could not mount any removable device: usb or CD… the error is the same, with a 14.9 GB pendrive, trying to mount it with dolphin:
An error occurred while accessing '14,9 GiB Removable Media', the system responded: An unspecified error has occurred: Adding read ACL for uid 1001 to `/run/media/fernando' failed: Invalid argument
I think when rebooting the system while while configuring the tablet it was an automatic kernel update. The directory /run/media is empty and it seems the kernel dos not create /run/media/fernando when I insert the usb
creating manually the directory seems to solve the problem for my personal user, but I guess it should be done automatically by the system.
andromeda:/home/fernando # mkdir /run/media/fernando
andromeda:/home/fernando # ls /run/media -l
total 0
drwxr-xr-x 3 root root 60 Oct 28 08:35 fernando
andromeda:/home/fernando #
I have the system up to date. It’s the same kernel described in bugzilla, so I guess this is the cause. As I have done a temporary solution creating /run/media/fernando, I will wait for the fix in the next patch.
Well indeed he has not, but booting with a previous kernel
fernando@andromeda:~> uname -a
Linux andromeda 3.16.7-42-desktop #1 SMP PREEMPT Tue Jun 28 12:20:57 UTC 2016 (35ab731) x86_64 x86_64 x86_64 GNU/Linux
fernando@andromeda:~>
/run/media not even exists
andromeda:/home/fernando # ls /run/media
ls: cannot access /run/media: No such file or directory
andromeda:/home/fernando #
But when I plug in a usb stick, it mounts ok with dolphin and then
andromeda:/home/fernando # ls /run/media -l
total 0
drwxr-x---+ 3 root root 60 Oct 29 00:41 fernando
andromeda:/home/fernando #
And user fernando does not have rights to write in /run/media, but the system has created /run/media/fernando
andromeda:/home/fernando # ls /run -l
total 48
.............................................
drwxr-xr-x 3 root root 60 Oct 29 00:41 media
.........................
So definitely is a bug.
I have done a zypper up but I am up to date and the bus is still not fixed
so booting with the old kernel or creating manually /var/run/fernando will fix the problem temporarily
It’s created on-demand.
But when I plug in a usb stick, it mounts ok with dolphin and then
andromeda:/home/fernando # ls /run/media -l
total 0
drwxr-x—+ 3 root root 60 Oct 29 00:41 fernando
andromeda:/home/fernando #
Notice the ‘+’?
This means that there are additional ACLs (“access control lists”) applied that contain finer grained permissions on a user/group basis, and in this case give your user (and only that user) write access.
Run “getfacl /run/media/fernando” to see them.
So definitely is a bug.
Yes, the bug is that ACL support in the kernel is broken.
The fix should be in the update repo any minute now though.