LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Udisk2 assigning UID/GID of 1023 to anything mounted by user (https://www.linuxquestions.org/questions/slackware-14/udisk2-assigning-uid-gid-of-1023-to-anything-mounted-by-user-4175661528/)

rworkman 09-30-2019 09:01 PM

Quote:

Originally Posted by Firerat (Post 6041783)
the userbase of slackware does seem to be in need of basic education

Yes, new users of $thing tend to need basic education.

brendan_orr 10-08-2019 04:40 PM

Hello all, thank you for your replies. I was busy at work and honestly forgot about the thread. After some more mucking about I was able to finally get it to at least create a mount point with a UID of my user (GID for whatever reason is being assigned '500' which doesn't exist on this system). umount/eject from the terminal still say Operation not permitted. Thunar fails to eject however Dolphin can eject it. ¯\_(ツ)_/¯

I may have no choice but to disable that udev rule.

@Richard Cranium
It is now showing:
Code:

$ ls -lh
total 52K
drwxr-xr-x 3 baorr  500 4.0K May  5 13:35 BlackThumb
-rw-r--r-- 1 root  root  500 Sep 25  2006 README
lrwxrwxrwx 1 root  root  11 Mar 16  2017 cdrecorder -> cdrecorder0
drwxr-xr-x 2 root  root 4.0K Sep 25  2006 cdrecorder0
...

@Firerat
The 1023:1023 came from the mount point itself. The contents have the usual baorr:users ownership. As far as changes scaring people...nah. The reason for wanting it mount inside /media directly and not inside another directory is purely laziness. This is a single user system so for all intents and purposes having mount points 2 levels shallower just makes sense. If garbage collection for unused mount points ever become an issue then a crontab can be used to prune.

@abga
Thanks for those links, I can see why it was included in FHS-2.3. Slackware 14.1 (at least that I remember) didn't make use of /run/media/{user}/{mountpoint} and I didn't see anything about it in the 14.2 changelog or 'CHANGES AND HINTS.TXT' file. I don't think I need to recompile it as I believe that flag was already set when the udisks2 maintainer compiled it.

@philanc,rworkman:
Nope, Hasn't touched Android at all. Fresh partition table and ext4 filesystem.

@GazL:
Right on the nose. More out of laziness (erm, 'efficiency') than refusal to change...unless your are talking about systemd...then I'm stubborn on that one. I like my BSD-style init...it's simple and elegant for what I need.

abga 10-08-2019 04:46 PM

Quote:

I don't think I need to recompile it as I believe that flag was already set when the udisks2 maintainer compiled it.
- the flag I mentioned is apparently not enabled:
https://mirror.de.leaseweb.net/slack...ks2.SlackBuild

rworkman 10-08-2019 09:17 PM

Quote:

Originally Posted by brendan_orr (Post 6045141)
@philanc,rworkman:
Fresh partition table and ext4 filesystem.

That's just it -- the ext4 filesystem has ownership and permissions understanding (of course). If you can set your user's uid to the same thing on every system you plan to use, then sure, it will work fine. Otherwise, what's happening to you is entirely expected.


All times are GMT -5. The time now is 03:30 AM.