Before uploading a photo or image to a forum, I may typically strip the metadata to remove identifying material with exiftool
. The thing is, the Linux file system itself seems to leave some metadata on a file:
cardamom@pluto ~ $ ls -la
insgesamt 1156736
drwx------ 145 cardamom cardamom 20480 Mär 16 08:58 .
drwxr-xr-x 9 root root 4096 Apr 21 2021 ..
-rw-r--r-- 1 cardamom cardamom 123624 Mai 24 2018 IMG_20200627_215609.jpg
So I feel tempted to change the user and group of a file as well. Is that a good idea? There is always a user called nobody
and a group called nogroup
who look like they were almost made for the purpose.
Is that everything or is there more metadata that Linux is leaving on its files?
nobody
and a group callednogroup
who look like they were almost made for the purpose.." – They are made for the exact opposite purpose. No file or directory should be owned by them. The purpose of them is that you can run a server or program under those IDs and be 100% sure that the server cannot access anything in the filesystem because there is nothing owned by it. (More precisely, that it can only access anything in the filesystem which is already world-readable).sudo chown nobody:nogroup IMG_20200627_215609.jpg
before it uploading it as 'cardamom' will not be uploaded with the photo anyway by the sounds of it