Forum › Forums › New users › New Users and General Questions › Help with PCmanFM – Folder Option to "Open as Root"?
- This topic has 32 replies, 6 voices, and was last updated Nov 7-7:25 pm by rej.
-
AuthorPosts
-
November 7, 2019 at 2:48 pm #29091
Anonymous
::BobC
My rule is copy with root, paste with user. When you paste, I would expect the pasted files to have the user id of the person creating them.Your “rule”, your expectations, are a product of your experience under a given (configured) set of variable conditions, though. To the contrary, on my system, I know to expect that an attempted “copy with root, paste with user” operation will fail ~~ permission denied.
BobC, specific to spaceFM, I can repeatedly reproduce the following quirky (bug?) confusing scenario:
1) open two spaceFM instances, one AsRoot and the other as regular user
2) attach a FAT32-formatted pendrive
3) the device, unmounted, is shown in left-pane of both spaceFM instances
Per my system configuration, “antiX automounting” is disabled, and only root may mount removable drives
4) using the AsRoot spaceFM instance to mount the drive, I note that owner=demo:demo is displayed for all files. Select, copy… and I browse to /tmp, then “paste”.result:
In the AsRoot spaceFM, /tmp/myfile.txt is now shown as owner=root:root
In the “regular user” spaceFM, /tmp/myfile.txt appears, and there it is also shown as owner=root:root. HOWEVER, via the “regular user” instance, I can delete that file. Before deleting, if I open an additional spaceFM tab in the :regular user” instance and browse to /tmp ~~ yep, I am (still) shown “owner=root:root” for that file. If I exit and relaunch “regular user” spaceFM, yep, root:root is still indicated as owner of that file… and, yep, I (as “regular user”) can still delete that file. Throughout all this, any attempt by regular user to (right-click }} Properties }} Permissions) change the ownership of the file does meet “permission denied”.November 7, 2019 at 4:11 pm #29095ModeratorBobC
::I think I saw that message once, but didn’t know how to recreate it. If I ever see it again I will come back here…
Somewhere along the line automounting got turned on and the normal user is automounting them on mine. I don’t think it was always that way. The only thing that I changed was on the spacefm devices, settings, device handlers screen, I have the default mount opening in a terminal so I get a password prompt, and it uses
# # udisks v2: udisksctl mount -b %v -o '%o'To mount the device if it needs to.
I admit that I just know what works for my system, and I try to keep it as stock as I can to keep things reasonably simple…
Attachments:
November 7, 2019 at 7:25 pm #29104Memberrej
-
AuthorPosts
- You must be logged in to reply to this topic.
