I have to right-click in my File Browser to open as root (more specifically, any time I want to edit files), and I'd like to prevent having to do this step every time. I edit files a lot, obviously 😂
- Coming from Windows!
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
You can run at the most local level something as root. For example,
gksudo nautilus(or whatever file browser you're using)
Note. This isn't very wise. You don't normally want to edit
ANY files as root. If you're editing them all the time, consider stepping back and asking a better question with more of your workflow -- like "how would you do this."
It's also very normal for these questions to emerge because something is running as root that shouldn't be running as root then that something creates its files as root. If this is the case, consider running whatever is creating the files as your local user. Or, as a user in the same group.