Solved Formatted partition showing read only

Jacksparow

Noobie
Jun 1, 2018
29
1,800
I formatted a partition from NTFS to ext4 using Gparted in linux. But now it is a read only file system. It is also showing root as the owner.
how to fix it and make it writable?

Screenshot_2021-07-14_01-36-22.jpg


 
Solution
I formatted a partition from NTFS to ext4 using Gparted in linux. But now it is a read only file system. It is also showing root as the owner.
how to fix it and make it writable?

View attachment 383
If your system is debain based (ubuntu, mint, kali...)

Code:
sudo chown -R $(whoami):$(whoami) /media/$(whoami)/*

if your system is vanilla (arch, lfs, redhat)

Code:
sudo chown -R $(whoami):$(whoami) /run/media/$(whoami)/*

Both of the above command changes permissions, do use this with caution.

Abhiram Shibu

Veteran
Jan 1, 2017
218
10
9,350
I formatted a partition from NTFS to ext4 using Gparted in linux. But now it is a read only file system. It is also showing root as the owner.
how to fix it and make it writable?

View attachment 383
If your system is debain based (ubuntu, mint, kali...)

Code:
sudo chown -R $(whoami):$(whoami) /media/$(whoami)/*

if your system is vanilla (arch, lfs, redhat)

Code:
sudo chown -R $(whoami):$(whoami) /run/media/$(whoami)/*

Both of the above command changes permissions, do use this with caution.
 
Solution

Sponsored