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

Re: Bug#37228: debian dir is mod 2755



reassign 37228 dpkg-dev
thanks

On Thu, 6 May 1999, Konstantinos Margaritis wrote:

> On Thu, 06 May 1999, Santiago Vila wrote:
> > On Thu, 6 May 1999, Konstantinos Margaritis wrote:
> > 
> > > Package: smartlist
> > > Version: 3.13-1
> > > 
> > > debian/ directory should be chmod 0755.
> > 
> > What do you refer? The source?
> 
> ahem, yes, I forgot to state that. sorry.
>  
> > debian directory is created by dpkg-source.
> 
> ok, so is it a bug of dpkg-source then? it doesn't happen with all
> packages, though

Ok, this does also happen with procmail, and it is inherited by the
procmail-3.13.1 directory in the source:

drwxr-sr-x guenther/src      0 1999-04-06 05:22 procmail-3.13.1

When you say "it should be 755", I think you refer to this paragraph in
policy:

   Directories should be mode 755 or (for group-writability) mode 2775.
   The ownership of the directory should be consistent with its mode--if
   a directory is mode 2775, it should be owned by the group that needs
   write access to it.

This refers (mostly) to binary .deb packages.

For source packages, the net effect depends on whether or not you are
using fakeroot (after some experiments, it seems there is no problem if
you are not using fakeroot).

Since this is an issue which may happen with every package having a setgid
directory in the .orig.tar.gz file, and we might want to keep the source
pristine anyway, I think this will be better handled as a bug against
dpkg-dev, so that at the same time dpkg-source makes debian/rules
executable, the debian directory itself is made mode 755).

I'm reassigning this bug.

Thanks a lot.

-- 
 "49ad3dc254545e2aa11bf5baebfc15ab" (a truly random sig)


Reply to: