voodish logo
Skip to: Content | Navigation | Site map

How to change permissions of specific file extensions in Linux

  Posted: October, 22 2008

Change specific file extensions in Linux, there are many ways to do this although some work better than others

Try this (where .xls is the extension):

1) In current working directory:
find . -type f -name "*.xls" | xargs chmod 755

2) Or specify from the root dir:
find /path/to/that/dir -type f -name "*.xls" | xargs chmod 755

chmod Permissions chart

PERMISSIONS COMMAND
USER GROUP WORLD  
rwx rwx rwx chmod 777
rwx rwx r-x chmod 775
rwx r-x r-x chmod 755
rw- rw- r– chmod 664
rw r– r– chmod 644

More Information A great how to for Linux File and Folder permissions

Related Articles

Comments RSS Feed

No Comments Yet

You can be the first to comment!

Leave a comment