Having Trouble Changing File and Folder Permissions on Linux

December 20, 2025 3 answers
Asked by all_thumbs_today
I'm running into a problem where I can't modify the permissions of folders or files in Dolphin, Nautilus, or by using the chmod command as root. I'm using Arch Linux and have never experienced this issue before. Is there a bug, or have I somehow messed up my system? I've tried changing permissions in Dolphin, but they don't save. In Nautilus, as soon as I adjust the permissions, they revert back, and I'm also unable to change the ownership. Using sudo chmod doesn't seem to work either. Any ideas?

Answers

scoreV4
First off, check what filesystem you're using. If it's NTFS or exFAT, that might be the issue. These filesystems don't support Unix permissions, which means chmod and chown won't work as you'd expect. You can confirm this by running the command `df -T /path/to/your/folder`. If it returns ntfs or exfat, then thatโ€™s why your changes arenโ€™t sticking.

orbit eccentricity: Yeah, I had a similar issue with an NTFS drive. Once I realized it doesnโ€™t support Unix permissions, everything made sense!

Reply to this answer
RyeAndReason
You should also check if any immutable attributes are set on the files. Run `lsattr /path/to/file` to see if 'i' is flagged. If it is, that means the file can't be altered. You can remove this with `sudo chattr -i /path/to/file`, then try changing the permissions again.

guesswork_: Oh, that's a neat trick! I didn't know about the immutable attribute. Iโ€™ll definitely check that!

Reply to this answer
4 layers visible
Also, make sure the filesystem isn't mounted read-only. If it is, any changes you're trying to make will fail. Use `mount | grep ' ro,'` to check. If you see 'ro', that could explain why you can't change permissions. Youโ€™ll need to remount it as read-write to change anything.

14th amendment notes: Good point! I remember my drive was read-only once because the system detected errors.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions