Bug 316946

Summary: Cannot mount external media.
Product: [Unmaintained] solid Reporter: dE <de.techno>
Component: libsolid-udisks2Assignee: Lukáš Tinkl <lukas>
Status: RESOLVED NOT A BUG    
Severity: grave CC: chaofeng111
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dE 2013-03-18 05:38:49 UTC
Since my upgrade to kde 4.10.1 (from kde 4.9.5), I cant mount any external media.

Device manager says "cannot mount the following device:" and dolphin says -- 

"An error occurred while accessing external', the system responded: An unspecified error has occurred: Adding read ACL for uid 1000 to `/run/media/de' failed: Operation not supported"

Reproducible: Always
Comment 1 dE 2013-03-18 05:39:21 UTC
Wont product, I know.
Comment 2 dE 2013-03-20 14:28:48 UTC
Udisk needed TMPFS_POSIX_ACL in kernel.
Comment 3 Chao Feng 2013-03-22 04:27:00 UTC
It seems a distro issue. The permision of /media is not set properly. See here for  solution.  http://askubuntu.com/questions/202560/cant-mount-any-partition-due-to-usb-adding-read-acl-for-uid-1000-to-media-e

Could you check if the solution works?
Comment 4 dE 2013-03-23 13:25:39 UTC
(In reply to comment #3)
> It seems a distro issue. The permision of /media is not set properly. See
> here for  solution. 
> http://askubuntu.com/questions/202560/cant-mount-any-partition-due-to-usb-
> adding-read-acl-for-uid-1000-to-media-e
> 
> Could you check if the solution works?

Ubuntu appears to have modified udisks to mount to /media instead of /run. Vanilla udisks mount to /run/media/<username>.

My problem was that, the kernel didn't have TMPFS_POSIX_ACL, which hindered operation of the new udev.