Public bug reported:

I am using a just updated copy of 14.04. The version of the udisks2
package is 2.1.3-1.

I changed the UID of a user on my system from 1001 to something else.
After the change, the ACL permissions on /media/<username> still
reflected the old UID. After I deleted the directory and inserted a usb
thumbdrive, the directory was recreated with the correct acl
permissions.

ACLs after UID change but before removing the directory:
$ getfacl /media/rat 
getfacl: Removing leading '/' from absolute path names
# file: media/rat
# owner: root
# group: root
user::rwx
user:1001:r-x
group::---
mask::r-x
other::---

After removing the dir, inserting a thumb drive, and then removing the thumb 
drive:
$ getfacl /media/rat 
getfacl: Removing leading '/' from absolute path names
# file: media/rat
# owner: root
# group: root
user::rwx
user:rat:r-x
group::---
mask::r-x
other::---

Since udisks controls the /media directory, shouldn't it just verify and
update the permissions of the directory?

** Affects: udisks2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  udisks does not update permissions on /media/<username> directory
  after uid change

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1335384/+subscriptions

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

Reply via email to