[Desktop-packages] [Bug 1335384] Re: udisks does not update permissions on /media/username directory after uid change

2014-06-30 Thread Phillip Susi
No, it shouldn't. It generally isn't a good idea to change uids in the first place, and certainly not while logged in. If you do, then the change does not take affect until you log out and back in anyhow, and any permissions in the filesystem will not be updated unless you update them. **

Re: [Desktop-packages] [Bug 1335384] Re: udisks does not update permissions on /media/username directory after uid change

2014-06-30 Thread Warren Turkal
Sure, changing a uid is not that common, but it is a supported operation through the usermod tool, and there are valid reasons to do it. In this specific case, I didn't change the uid while logged in. I logged out, logged in with a different user on tty1, sudo -i to get a root shell, then changed

[Desktop-packages] [Bug 1335384] Re: udisks does not update permissions on /media/username directory after uid change

2014-06-30 Thread Warren Turkal
This bug is not invalid. There is a very real UX concern here. ** Changed in: udisks2 (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu. https://bugs.launchpad.net/bugs/1335384

[Desktop-packages] [Bug 1335384] Re: udisks does not update permissions on /media/username directory after uid change

2014-06-30 Thread Warren Turkal
Here's some links to code. Here's the upstream code link: http://cgit.freedesktop.org/udisks/tree/src/udiskslinuxfilesystem.c#n899 Here's the Utopic code: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/udisks2/utopic/view/head:/src/udiskslinuxfilesystem.c#L891 Here's the trusty