Re: Files permission in the debian directory

2012-02-13 Thread Andrey Rahmatullin
On Mon, Feb 13, 2012 at 04:05:11PM +0100, fre...@free.fr wrote:
 What are the recommended permissions for all the files that reside inside the 
 debian directory ?
Usual 644/755 I suppose, what makes you think about different perms?

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Re: Files permission in the debian directory

2012-02-13 Thread fred0a


- Mail original -
De: Andrey Rahmatullin w...@wrar.name
À: debian-mentors@lists.debian.org
Envoyé: Lundi 13 Février 2012 16:16:12
Objet: Re: Files permission in the debian directory

On Mon, Feb 13, 2012 at 04:05:11PM +0100, fre...@free.fr wrote:
 What are the recommended permissions for all the files that reside inside the 
 debian directory ?
Usual 644/755 I suppose, what makes you think about different perms?

--
WBR, wRAR


What I especially like to know if this should be group-writable, but maybe it's 
not important.


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cf6b4c25-eddb-45ae-8732-12c64c3b2...@zimbra75-e12.priv.proxad.net



Re: Files permission in the debian directory

2012-02-13 Thread Gergely Nagy
fre...@free.fr writes:

 What I especially like to know if this should be group-writable, but
 maybe it's not important.

They should not be. There is no reason to use anything but 644/755,
respectively.

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aa4mg086.fsf@algernon.balabit



Re: Files permission in the debian directory

2012-02-13 Thread fred0a

Ok, thanks.


- Mail original -
De: Gergely Nagy alger...@balabit.hu
À: debian-mentors@lists.debian.org
Envoyé: Lundi 13 Février 2012 17:35:37
Objet: Re: Files permission in the debian directory

fre...@free.fr writes:

 What I especially like to know if this should be group-writable, but
 maybe it's not important.

They should not be. There is no reason to use anything but 644/755,
respectively.

--
|8]


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aa4mg086.fsf@algernon.balabit


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/a2ece7e2-0472-420d-a473-bfe99e287...@zimbra75-e12.priv.proxad.net



Re: Files permission in the debian directory

2012-02-13 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On 13.02.2012 17:55, fre...@free.fr wrote:
 They should not be. There is no reason to use anything but 644/755,
 respectively.

Except debehelper in compatibility mode 9. There, debhelper
configuration files can be scripts (as you know), which are determined
by the +x bit.


- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPOV+4AAoJEMcrUe6dgPNtRVIP/jQt8qm6HrvQVOvt5czkBsj7
d6eS9XpwajbUkx1nySnvy8rYJ1jBoDWxBdDxyI/BTFf/GlKTe5dq1VHL+3rZ9Bbq
ffDQzTW3RxuIauye4FYLbrV6pkd4PRItuZ4KD5iwIfoupKb7DvdWGCVXKv72OQBQ
3h+izOfGiLefabfLaHYkU6iq1IcO4wDfP/GMcJeJKyxg3dKcxaAbJ8R/Hbg6v75H
x12NaIGqlMMVv88VAjovI3Kr2R5k9K6UOUSJK1jRd9a/RPdENv8bSgShnqsfkIgF
HQRxYcqwcbbB7GlxhBGxCSNyVzOsR1ic3DanANlxgdsQYGnXGjtNBo2dkQNUSv84
xKI4FDgwulpGiFrJrmWTHvf81jMmD8y0w3sgCznwBvTqNWWhQgS46YJacvGorAKI
c/NR0mctmqU0gcPKjqm7S5f9sYX5iwM7nlucK+BxaXDjGIzj8OrQBQU6XNHwvpAj
+k/Y8r0BOEuyKDCmAbJAvTkGJkf2b+ot1cVAiYFEQJdedKtxHydO5jhsPuM/JtjP
C88o8obTE4OAYXI9BZrV5BHsoZj1OxdHzrkLhTzmU0Dm2s5rkj+8ZqOOsaWEBDkp
aMbwPPGaeNx+2qYx6qAzHLgiAVx9T1cBgPuVilNUH0J6/NiGA7HS9oFld9GadJe+
Llj3DtfGTx+mns3tNQc8
=G9+M
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f395fb9.7010...@toell.net



Re: Files permission in the debian directory

2012-02-13 Thread Gergely Nagy
Arno Töll deb...@toell.net writes:

 Except debehelper in compatibility mode 9. There, debhelper
 configuration files can be scripts (as you know), which are determined
 by the +x bit.

That's covered by 755. But executable dh files are not for the faint of
heart, nor for beginners who need to ask these questions, so I
intentionally didn't mention them.

-- 
O8]


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fweeb9n1@luthien.mhp



Re: Files permission in the debian directory

2012-02-13 Thread Charles Plessy
Le Mon, Feb 13, 2012 at 04:05:11PM +0100, fre...@free.fr a écrit :
 
 
 What are the recommended permissions for all the files that reside inside the 
 debian directory ?
 I've not found any documentation about it, except for debian/rules.

Dear Fred,

the Dpkg source format version 1.0 does not support other files than
debian/rules to be executable, so I recommend that unless strictly needed, you
do not rely on files in debian/ to be executable, especially if you suspect
that your package might be backported by users on local installations that are
too old for supporting the 3.0 (quilt) format.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120213235945.ga9...@falafel.plessy.net