[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dragora-bug] The makepkg guide - suggestions and corrections
From: |
Matias A. fonzo |
Subject: |
Re: [Dragora-bug] The makepkg guide - suggestions and corrections |
Date: |
Sun, 4 Nov 2012 19:29:13 -0300 |
El Sun, 04 Nov 2012 03:25:10 +0100
Marek Buras <address@hidden> escribió:
>
> Speaking of corrections - there is set of commands used for setting
> permissions on files in source directory. Current one may cause
> problems ("locking" users directory for example), so I think we can
> make it safer and use this commands instead (both in "To work"
> section and in the summary):
>
> # chown -R 0:0 .
> # find . \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 \
> -o -perm 400 -o -perm 440 \) -exec chmod 644 {} \;
> # find . \( -perm 2777 -o -perm 777 -o -perm 775 -o -perm 511 \
> -o -perm 711 -o -perm 555 \) -exec chmod 755 {} \;
>
It will be fixed. Thanks.
I suggest the usage of `chmod' (as the replacement of `find'):
1. chown -R 0:0 <.> or <srcdir>
2. chmod -R u+w,go-w,a+rX-s <.> or <srcdir>