Can't change the owner of a folder
Solution 1
As commented by user7547272 and oldfred, I disabled Fast Startup and hibernation on Windows 10, ran chown
and chmod
. Then I followed what was written in this post and my problem was solved.
Solution 2
It sounds as though the directory is mounted as Read Only, instead of Read Write. Unmount the directory, remount it as R/W Review the man pages on mount for further details.
Related videos on Youtube
Comments
-
Apoorv Potnis over 1 year
I want to change the owner of a folder. The path to to that folder is
/mnt/8A30AA8B30AA7DB7/Books
. I want to take the ownership of that folder to change the permissions. The folder currently belongs to root. I tried the following connamds but none seem to work.chown apoorv_potnis -R Books
sudo chown apoorv_potnis:apoorv_potnis -R Books
sudo chown apoorv_potnis:apoorv_potnis -R /mnt/8A30AA8B30AA7DB7/Books
sudo chown -R apoorv_potnis: /mnt/8A30AA8B30AA7DB7/Books
The terminal displays
chown: changing ownership of '/mnt/8A30AA8B30AA7DB7/Books': Read-only file system
and other files in the folder but does not actually change the ownership. Whenever I check the properties of that folder or the sub-folders, the owner is shown to be root and I cannot change the permissions or delete any file of that folder. How can I take the ownership of the folder? I'm using Ubuntu 18.04 with dual boot Windows 10.-
damadam about 6 years
-
Apoorv Potnis about 6 years@damadam When I typed
sudo fsck -Af -M
in my terminal, it displayedfsck from util-linux 2.31.1
. I don't know what that means as I'm new to Ubuntu. -
damadam about 6 years
-
insaneinvader about 6 yearsI've encountered similar problem on auto-mounted partition. The answer of Greg Kramida helped me a lot, you can find it here askubuntu.com/a/958491/830248
-
Soren A about 6 yearsClue:
Read-only file system
.. you can not update or delete from a Read-only file system. -
oldfred about 6 yearsIs this NTFS, not a Linux format. You can only use chown on Linux formats. Windows formats get default permissions only from mount. And if NTFS and read only probably Windows fast start or hibernation. See: askubuntu.com/questions/843153/… & askubuntu.com/questions/145902/…