Why Can't I Change File or Folder Permissions on My NTFS Drive?
Asked by
verse_by_verse
I'm having trouble changing permissions on a folder or file using Dolphin or Nautilus, and even with `chmod` as root. I'm running Arch Linux, and I've never encountered this problem before. It's frustrating because when I attempt to change the permissions in Dolphin and hit OK, nothing happens. In Nautilus, the permissions immediately revert back to what they were, and I can't change the owner either. Running `sudo chmod` doesn't do anything. Is this a bug or have I messed something up in my setup?
Answers
Another thing to check is if your filesystem is mounted read-only. If there were errors detected, it could have been remounted in a way that prevents changes. Run `mount | grep ' ro,'` to see if your drive is set to read-only. If it is, you'll need to address those errors before you can make permission changes.
Reply to this answer
It sounds like you're dealing with a filesystem that doesn't support traditional UNIX permissions. Since you mentioned you're using an NTFS drive, this is likely the reason why your permission changes aren't sticking. NTFS and other similar filesystems don't enforce UNIX permission rules, so commands like `chmod` and `chown` won't work as expected. You might want to check the filesystem type with `df -T /path/to/your/folder` to confirm this.
Reply to this answer
Also, ensure that there isn't an immutable attribute set on your files. You can check this with `lsattr filename`. If you see an 'i', that means the file cannot be modified or deleted. You can remove the immutable attribute with `sudo chattr -i filename`.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions