dragora-bug
[Top][All Lists]
Advanced

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

[Dragora-bug] The makepkg guide - suggestions and corrections


From: Marek Buras
Subject: [Dragora-bug] The makepkg guide - suggestions and corrections
Date: Sun, 04 Nov 2012 03:25:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hey Dragorians ;-)

As some of you know, there is short guide for using makepkg command at
http://www.herco.org/noc/mkpkg.html However it has its age and there may
be things that are not correct today or cause problems (as san2ban
pointed on IRC and in private mail). Since I've heard that someone works on
translation of this "makepkg guide", maybe we should write down what
needs to be updated or corrected?

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 {} \;

What do you think about it?

-- 
Marek Buras
cyfr0n (at) go2.pl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]