Why Can’t I Change File or Folder Permissions on My NTFS Drive?

0
7
Asked By CuriousCat84 On

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?

3 Answers

Answered By LinuxLover88 On

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`.

Answered By TechieTommy42 On

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.

Answered By FileFixer99 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.