Comments by "Charlie Kahn" (@charliekahn4205) on "Структура файловой системы Linux!" video.
-
3
-
2
-
2
-
2
-
My idea for a better hierarchy:
Considering everything is a file in Unix, this concept integrates that idea into a systemd/SELinux system. Thus, every main folder/partition represents a user.
The root directory would be organized as such:
/root
/share
/boot
/usr1
/usr2
/usr3
etc.
Each standard user has complete access to their own folder, but cannot read or write any other standard user's folder or root's folder. Every user has read access to /share and /boot, but root has complete access to them.
Each folder contains:
/pkg - contains libraries, executables, and their desktop files and master configs. Executing a binary just executes whatever binary is specified in the desktop file. If there is none, nothing happens.
/pkgdata - contains program-specific data, including dotfiles, gamesaves, and custom icons.
/usrdata - contains all other data, including data shared by everything, for example backgrounds, documents, downloads, etc.
/mnt - contains all new drives mounted by the user
I've used Gobolinux before, which creates its own hierarchy and uses symlinks to enforce it, thus not requiring a real package manager. I'd figured this would be something similar, only made to follow the way user permissions work. What do you think of this design?
1
-
1
-
1
-
1
-
1
-
1