Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to disable file permissions on an ext3/4 file-system?

Just wondering if it's possible to completely disable or ignore file permissions on a ext3 or ext4 file system. Perhaps a mounting option?

I'm not concerned about the security implications as I would be doing this for testing and with removable media.

share|improve this question
Why would you want to remove file permissions from an ext3 or ext4 filesystem? They were built with POSIX file permissions in mind. If you are looking to use a filesystem with limited permissions options, perhaps something like FAT32 or exFAT would be better? – Rob Gibson Mar 6 '13 at 21:09
I'm curious if there is a Linux native option – Corey Mar 6 '13 at 21:10
It is a Linux-native option to use FAT32, as it is a supported filesystem. You simply need to use a filesystem which is not designed for POSIX systems, as those that are support file permissions. – Rob Gibson Mar 6 '13 at 21:35
wouldn't $ sudo chmod -R 777 /your/filesystem do the trick? – Red Cricket Mar 6 '13 at 21:47
@RedCricket that would be a workaround if the answer turns out to be no – Corey Mar 6 '13 at 23:52

No you can`t drop the file permissions for ext{2,3,4} file systems.

The only thing you can do is to set all files to 777 permission.

Just run:

 chmod a+rwX -R <mountpoint>
share|improve this answer
Better make that chmod a+rwX -R <mountpoint> to not give spurious execute permissions. – vonbrand Mar 7 '13 at 0:10
@vonbrand right – H.-Dirk Schmitt Mar 7 '13 at 0:12
but the X in chmod a+rwX makes all files executable, right? That's a good thing?? – becko Aug 20 '15 at 17:24
@becko You've missed the point of the previous two comments. Upper-case X will only make directories executable (enterable) without making files executable; whereas lower-case x will makes all files and directories executable. – XA21X Nov 16 '15 at 8:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.