Skip to content

Instantly share code, notes, and snippets.

@TylerJWhit
Last active January 12, 2017 03:14
Show Gist options
  • Save TylerJWhit/f2a11520c819b6e115ff to your computer and use it in GitHub Desktop.
Save TylerJWhit/f2a11520c819b6e115ff to your computer and use it in GitHub Desktop.
Reset permissions FreeNAS
find . -type d -print0 | xargs -L 1 -0 -I'{}' setfacl -m everyone@:full_set:fd:allow "{}"
find . -type f -print0 | xargs -L 1 -0 -I'{}' setfacl -m everyone@:full_set::allow "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment