Hide Read-Only Folders

I like that Arch and the like set the permissions to read-only so I don't accidentally blow up my install but to an inexperienced non-power user, it renders those folders vestigial for my use. I'd like to know how to hide them from view in dolphin, even if I need to modify them individually. I also understand that some of the sub-directories in those read-only directories have directories that are intended for user use, so I don't mean those.
Solution:
So the best, safest answer for anyone looking at this in the future, say, trying to make it less likely that your children that use the PC get curious enough to click enough things that it break (especially if they are using your administrator account), you can help to alleviate this somewhat by right clicking the links under "devices" and selecting to "Hide Section 'Devices'. That should help tidy up you UI some.
Jump to solution
5 Replies
termdisc
termdisc5d ago
system critical files cannot be modified without very specific intervention, i.e., using elevated permissions such as with sudo. you can't hide them though because hidden files in Linux are simply those with . dots at the front
sgtarpin
sgtarpinOP5d ago
Right. I understand that these folders need elevated permissions to edit and I'm happy about that. I know enough about linux to understand permissions and how to change them, but I don't know enough about linux to know if a user account would still function without read permissions. I think it should, right? Would it cause problems if I removed read permissions for my user on those folders? I guess I could always create a new user and test it.
termdisc
termdisc4d ago
You are on the verge of making things broken in a misguided attempt to protect yourself you should never need to go beyond /home/ or /mnt or /run/media. if you have an affliction that forces you to try to play with files in /usr or /lib, then I don't know what can help you you must always have read access to system files, which are owned by root, not the user disabling read permissions on files that need to be used to run will cause you so many problems
sgtarpin
sgtarpinOP4d ago
ok ok! I am just curious and want to learn. I wasn't disagreeing. I did find a way to clean up the directory options by simply hiding the root links in the side panel* under devices so that there is no direct way to access anything under the user's home directory without showing the whole path and going lower in the structure. The root of the question stemmed from trying to understand where the linux equivalent to the "program files" directory in windows is, especially when bin and opt aren't an option.
Solution
sgtarpin
sgtarpin4d ago
So the best, safest answer for anyone looking at this in the future, say, trying to make it less likely that your children that use the PC get curious enough to click enough things that it break (especially if they are using your administrator account), you can help to alleviate this somewhat by right clicking the links under "devices" and selecting to "Hide Section 'Devices'. That should help tidy up you UI some.
Want results from more Discord servers?
Add your server