Can I fix permissions on my NTFS drives all at once?

November 4, 2026 4 answers
Asked by qv9

I have several NTFS external drives with media files, and a few folders or files cannot be moved or deleted from Linux. Is there a safe way to fix them in bulk, or should I handle the problem differently?

Answers

FIZZLE

I would not start with recursive chmod commands. On NTFS, the permissions Linux shows can depend on the driver and mount options. In some setups, chmod changes the permissions Linux presents; in others, the displayed modes are largely set when the drive is mounted. So a command that seems to fix one file may not be a reliable fix for every drive or mount.

First check how the problem drive is mounted, including its filesystem type and options. Then test a single troublesome folder and its parent. Moving or deleting an item often depends on write and execute permission on the containing directory, not just the item's own mode. Make sure you have a backup before applying changes recursively.

qv9:

That helps. I had been changing the file mode without checking the parent folder or mount options.

Reply to this answer
plum__static

For a quick, low-risk route, use Windows to inspect the folders that give you trouble. Check their security permissions and whether anything is marked read-only or actively in use. If the drive is shared between Windows and Linux, Windows is also a useful way to check for filesystem problems before making a large batch of changes.

That does not mean Linux cannot write to NTFS. It just avoids guessing at what a displayed Linux mode means on a particular mount.

Reply to this answer
m0oncalf

Be careful with mode 777. It gives every local user broad access, and it may not address the cause if the drive's permissions are being determined by mount settings or Windows ACLs. Also, a file can be impossible to delete because its parent directory is not writable, even when the file itself looks editable.

If chmod does change the troublesome items on your setup, try it on one folder first and verify the result before running anything across the whole drive.

cobblewink:

So changing the directory permissions may matter more than changing every file's permissions?

Reply to this answer
Yip+Yarn

If these drives are mainly for ordinary media and you ever decide to reformat one, exFAT is a common option for sharing files between Windows and Linux. But reformatting erases the drive, so it is not a quick permissions fix and you would need another copy of the data first. For the existing drives, check the mount configuration and test a small change rather than assuming one recursive command will behave the same everywhere.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions