Change the partition owner

By adding a hard disk for storing files to the system, we create the various desired partitions on it with the KDE Partition Manager. These partitions belong to the root superuser, which prevents us from saving files with our user. One method of changing the partition owner is using the command line. But first we need to mount the new partitions, selecting them in the file manager, in our case Dolphin.

sudo /run/media/username
ls

The ls command lists the various partitions already mounted on this disk. It remains for us to change the owner of the various partitions created with the following command (without the quotes):

sudo chown "your username":"your usergroup" -R "partition name"

For example:

sudo chown pratajo:pratajo -R Movies

The -R option of the chown command extends the owner change to subfolders, recursively.

 




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Step by step instructions to get al-folio up and running on your local machine using Docker and Visual Studio Code (VS Code)
  • Installing Fedora 42 KDE Plasma
  • Installing Fedora 42 Xfce
  • Installing Fedora 42 Beta KDE Plasma
  • Installing Fedora 42 Beta Xfce