trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: July 2018

Re: [trinity-users] today's immature bothersome question

From: Mike Bird <mgb-trinity@...>
Date: Sun, 1 Jul 2018 18:41:16 -0700
On Sun July 1 2018 18:34:23 William Morder wrote:
> I have not had those problems, but thanks for clarifying my own question:
> how to change the permissions of files inside a folder to 600 only (rw for
> user), but 700 for the folder (because rwx is necessary to enter the
> folder).

You'd need a more complicated command than "chmod -R" to do that right
because you'd need to consider any subfolders.  The "find" command
can do it but I don't want to post dangerous commands here which might
be used in the wrong circumstances.  Anyone who needs to try this can
"man find" and figure out exactly what is needed in their particular
situation.

--Mike