Steve, not sure you are subscribed to the upstream bug, it got closed
NOTABUG, I copy the comment here

"The motivation for moving out of /media was that with /media any user can
access the filesystem that your user mounts. Which obviously is highly
undesirable on multi-user systems. Originally we wanted to use
$XDG_USER_RUNTIME_DIR and for a while we did that, see


http://cgit.freedesktop.org/udisks/commit/?id=502fb5b7810afb50e48354e6b4d1781d07f79e10

but shortly determined that it was racy (it's never a good idea for a system
daemon to write to a directory controlled by untrusted users) so we ended up
using /run/media instead:


http://cgit.freedesktop.org/udisks/commit/?id=502fb5b7810afb50e48354e6b4d1781d07f79e10

(OTOH, if you really want all users to access a device, you simply just add an
/etc/fstab entry. We now have API in udisks and UI in GNOME Disks for this.)

> violating the expectations of experienced users and possibly
> breaking user scripts / symlinks.

Just FYI, it's pretty fragily to rely on udisks just this or that name in
/media in the first place so I don't think any "experienced user" would do
this. If you need a predictable mount point, you need to use /etc/fstab or
mount the device yourself through another mechanism. Or, better, fix your
software and/or scripts to figure out the mount point itself by looking at
things like /proc/self/mountinfo use lsblk(8) or whatever.

> Please fix udisks to move its mounts back to /media."

There is nothing to "fix" here so closing NOTABUG."

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1020759

Title:
  /run/media is an unnecessary divergence from the FHS

To manage notifications about this bug go to:
https://bugs.launchpad.net/udisks/+bug/1020759/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to