Which first level directories in Linux should be owned by user?
1
vote
1
answer
456
views
Today, I have accidentally noticed that the following directories of the
/
are **owned by user
**, rather than root
:
- /home
- /lost+found
- /media
- /mnt
- /opt
- /snap
- /srv
- /swapfile
- /var
I have no idea how that could happen. It seems only logical that some of them with the obvious exception of /home
should be owned by root. If so, which ones?
On the other hand, the Lubuntu 20.04 x64
system and installed software run both normally.
I do not face any troubles at the moment.
Should I follow the _"If it is not broken, don't fix it"_ approach?
Asked by S. N.
(317 rep)
Jul 28, 2023, 12:24 PM
Last activity: Jul 31, 2023, 02:39 PM
Last activity: Jul 31, 2023, 02:39 PM