Bug#514773: debian.md mirror: read rights issues

2009-04-09 Thread Vitalie Lazu
Good day Simon,

I run once again:
$ chmod -R a+r debian debian-security

But in the past I did it because one local user complains.

$ umask
0022

How can this be possible?

-- 
Best regards,
Vitalie Lazu
Technical Lead, Assembla - http://www.assembla.com
About: http://www.linkedin.com/in/vitalielazu
Skype: vitaliel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514773: debian.md mirror: read rights issues

2009-04-09 Thread Simon Paillard
Hello Vitalie,

On Wed, Apr 08, 2009 at 04:15:58PM +0300, Vitalie Lazu wrote:
> On Tue, Apr 7, 2009 at 11:01 PM, Simon Paillard wrote:
> > On Tue, Apr 07, 2009 at 12:29:15AM +0300, Vitalie Lazu wrote:
> > > On Tuesday 07 April 2009, Simon Paillard wrote:
> > > > On Sun, Mar 22, 2009 at 08:55:10PM +0100, Simon Paillard wrote:
> > > > > http://debian.md/debian/project/ gives me 403.
> > > > > Please check the permissions.
> > >
> > > Try to open: http://debian.md/debian/project/trace/
> > >
> > > /debian/project folder has no read permissions for other users and
> > > permissions are copied from remote server with rsync.

>From what I see from the ftpsync script, no permissions are copied from
the upstream mirror :
RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-rltvHSB8192 ..
r for recursive, l for links, t for timestamps, v for verbose, no perms
are preserved.

> > It was giving 403 this afternoon, and is now ok.
> 
> I can see folder contents, maybe during synchronization this folder is
> protected...

As far as I know, there is no such mecanism in ftpsync. rsync replaces
the updated files only once the new version is fully downloaded, in
order to make the mirror update as "atomic" as possible (delay-updates).
In the meantime, the old version is still readable.

Somehow ftp listing shows : 
drwxr-xr-x 1053 1001 100136864 Mar 29 13:57 g
drwx--x--x  298 1001 100112288 Mar 28 19:58 h
then up to letter z (including all lib[a-z]*)

Same for : /debian/project and /debian/tools/ and /debian/pool/non-free

In the meantime, the rights seems ok on ftp.ua.d.o.

Could you please perform a recursive chmod a+r on the whole debian
directory, so that we will be able to check if it happens again ?

> > > Rsync and ftp should work now, I configured them one week ago.
[..]

Tested ok now, thanks for the configuration.

-- 
Simon Paillard



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org