samedi 27 décembre 2014

CLI: How to set a folder's permissions the same as existing adjacent folders?


I know how to set permissions etc, but rather than:



  1. Check permissions of one existing folder; and

  2. Note them down somewhere; and

  3. Use a command to set the permissions of an adjacent folder to the ones I've noted down


I want to run a command to set permissions of [folder 313] exactly the same as [folder 128].


Ideally, I would be able to set more than one, such that I can set the permissions of [folder 313], [folder 179], [folder 54], and [folder 226] simultaneously with the same permissions as [folder 128].



Aucun commentaire:

Enregistrer un commentaire