[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chmod/chown/chgrp rekursiv (was: [SOLVED] Wie Authentifizierung in apache2 in wheezy einrichten)



Spiro Trikaliotis:
> 
> Du kannst dir mal die --recursive (a.k.a. -R) Option anschauen. Die
> könnte sein, was du willst.
> 
> Eventuell willst du aber auch ein find benutzen, um die Rechte zwischen
> Dateien und Ordnern unterschiedlich zu gestalten?
> 
> Also z.B.:
> 
>    find $DIR -type d -exec chmod 755 \{\} \+
>    find $DIR -type f -exec chmod 644 \{\} \+

Das hier ist äquivalent:

chmod -R u=rwX,g=rX,o=rX $DIR

J.
-- 
I cannot comprehend the idea of chemical and biological weapons.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: