I have an external HDD. It's portable, so I plug it in all over the place. Needless to say, these different places have different passwd files and uids. The files are mine and I need to access them everywhere.
Currently, every time I plug it in somewhere I have to
sudo find . -type f -exec chmod a+rw \{\} \+ sudo find . -type d -exec chmod a+rwx \{\} \+ Which assumes I have root access, of course. I could run this command (without sudo) at the end of a session instead, but either way it's a faff and takes a lot of time (it's a ½TB drive).
One option is to use a FS that does not understand permissions, exFAT, for example. However I'm using BTRFS because I use the snapshot facility.
Is there a way at the FS level I can disable permissions - leave everything wide open? Or if you have another way, how do you do this?
sudo find...to open access to user 2000 to files created by user 1000 in Session 1; Session 3 as user 3000: runsudo find...to open access to files created in Session 2 (as you point out, Session 1's files should still be available)...