Grumpy Mike wrote:Yes suppose you want to put something in a directory that is owned by root, like putting a customised wallpaper image in a directory or ejecting an SD card as a user that was first mounted under root.
I am rather fed up of constantly quitting X logging out, log in as root, startx, doing the move copy or what ever, then quitting X, logging out, logging back in as Pi and startx again. Personally I have better things to do with my life.
A customised wallpaper can and should live in your home directory with your other personal files, and be owned by you, so that you can back it up separately from the base operating system. The only exception to that is if you (as system administrator) want to make the image available to all users. But even in that case you should not drag it into any of the standard artwork directories, where it might get clobbered by a future package update. Instead you should put it somewhere under /usr/local/, or in some other site-specific directory that you create, such as /home/grumpy. Notice that /usr/local/ is writeable by group "staff", so "sudo usermod -aG staff pi" gives pi permission to drag stuff there (after next login). There is no reason that /home/grumpy could not be writeable by pi, or mike, or whoever is deemed the sysadmin.
I do not have a card reader to test with, and I am not sure what you are using it for, how you are mounting it, or why want to be able to unmount as a different user. But I suspect that
Tools→Open Current Folder as Root in the file manager will make the eject icon appear.
As well as being inconvenient, it is definitely not advisable to run startx as root. There is always a better way.