Raspberry PI OS Root File Manager

by JJ Slabbert in Circuits > Raspberry Pi

211 Views, 0 Favorites, 0 Comments

Raspberry PI OS Root File Manager

super_user_filemanager.jpg
2021-02-21-114057_1920x1080_scrot.png
2021-02-21-114449_1920x1080_scrot.png
2021-02-21-115308_1920x1080_scrot.png

Linux is very strict on file and directory permissions. I is also tricky for somebody who does not now all the command line commands to copy files, directories, move them around and edit files. If you do anything like the mentioned, in a directory other than /home, you will frequently get the error, permission denied.

Raspberry PI OS and many other Linux have a nifty File Manager (Like Windows explorer). You will find this on your main menu. This File Manager is however not started as the root user (super user). If you start it as super user, your permission denied problems should be over. Files you launch from it should be completely owned, editable, movable etc

Go to the main menu>Preferences>Main Menu Editor

Open Accessories and select New Item. Complete the form

  1. Name=ROOT File Manager
  2. Command=sudo pcmanfm
  3. Comment=sudo pcmanfm, Run File Manager as Root

You can also give it a nice picture, like the one I attached

Click OK. You now run pcmanfm (File Manager) as root user