Skip to content

Instantly share code, notes, and snippets.

@Xarkam
Created October 12, 2016 07:16
Show Gist options
  • Save Xarkam/4c809b5df09cce9ebf01a4de13c4b6b8 to your computer and use it in GitHub Desktop.
Save Xarkam/4c809b5df09cce9ebf01a4de13c4b6b8 to your computer and use it in GitHub Desktop.
Changer les droits sur des dossiers ou fichiers uniquement
# Change les droits des répertoires et sous répertoires du dossiers courant
# Changer la directive -type d par -type f pour ne changer que les droits des fichiers
find -type d -exec chmod 770 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment