Take the 2-minute tour ×
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.

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
1  
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
1  
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

1 Answer 1

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
1  
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

Your Answer

 
discard

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.