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:

  • Installing Fedora 41 KDE Plasma
  • Installing Fedora 41 Xfce
  • Jekyll on Fedora - Installation and use
  • LAMP on Fedora
  • Creating one or multiple buttons to copy text to the clipboard