You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Andy Jefferson <an...@datanucleus.org> on 2012/07/31 16:13:35 UTC
Apache JDO site : problem with upload
The old instructions to update the Apache JDO site to include any updated files
in SVN were
1. SSH to people.apache.org
2. cd to /www/db.apache.org/jdo/
3. `cat update`
This now gives
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/x1/www/db.apache.org/jdo' is too old (format 10,
created by Subversion 1.6)
i.e the Apache machine has been upgraded to SVN 1.7+ and what was there is for
an old revision. Doing an "svn upgrade" works until it gets to
svn: E000013: Can't stat
'/x1/www/db.apache.org/jdo/images/logos/.svn/props/maven-bolt.png.svn-work':
Permission denied
Seems that
/x1/www/db.apache.org/jdo/images/logos/.svn/props
has permissions
-r--r--r-- 1 madams db 3659 Dec 20 2011 entries
Matthew,
would you be able to fix these permissions? Maybe you could also run the "svn
upgrade" command while at it to make sure there are no others with similar
problem later on
Thanks
--
Andy
DataNucleus (http://www.datanucleus.org)
Re: Fwd: Apache JDO site : problem with upload
Posted by Matthew Adams <ma...@matthewadams.me>.
Well, I'm glad it's working now. I guess I won't worry too much about it
now, but I still can't explain how /x1/www/
db.apache.org/jdo/images/logos/.svn/props is missing:
madams@minotaur:/x1/www/db.apache.org/jdo/images/logos$ ls -al
total 106
drwxrwsr-x 2 andyj db 26 Jul 31 15:52 .
drwxrwsr-x 3 apbackup db 86 Jul 31 15:52 ..
-rw-rw-r-- 1 andyj db 1717 Oct 2 2007 maven-bolt.png
-rw-rw-r-- 1 andyj db 2312 Oct 2 2007 maven-brewed.png
-rw-rw-r-- 1 andyj db 1070 Oct 2 2007 maven-build-successfull.png
-rw-rw-r-- 1 andyj db 903 Oct 2 2007 maven-built.png
-rw-rw-r-- 1 andyj db 4387 Oct 2 2007 maven-bulldozer.png
-rw-rw-r-- 1 andyj db 3217 Oct 2 2007 maven-button-1.png
-rw-rw-r-- 1 andyj db 2697 Oct 2 2007 maven-button-2.png
-rw-rw-r-- 1 andyj db 3792 Oct 2 2007 maven-button-3.png
-rw-rw-r-- 1 andyj db 6377 Oct 2 2007 maven-button-4.png
-rw-rw-r-- 1 andyj db 4545 Oct 2 2007 maven-button-5.png
-rw-rw-r-- 1 andyj db 1970 Oct 2 2007 maven-button-black.png
-rw-rw-r-- 1 andyj db 2063 Oct 2 2007 maven-button-blue.png
-rw-rw-r-- 1 andyj db 2497 Oct 2 2007 maven-button-copper.png
-rw-rw-r-- 1 andyj db 1978 Oct 2 2007 maven-button-green.png
-rw-rw-r-- 1 andyj db 2585 Oct 2 2007 maven-button-pinky.png
-rw-rw-r-- 1 andyj db 2473 Oct 2 2007 maven-button-purple.png
-rw-rw-r-- 1 andyj db 1911 Oct 2 2007 maven-button-teal.png
-rw-rw-r-- 1 andyj db 2907 Oct 2 2007 maven-feather.png
-rw-rw-r-- 1 andyj db 1038 Oct 2 2007 maven-frankenstein.png
-rw-rw-r-- 1 andyj db 1664 Oct 2 2007 maven-mavenfactured.png
-rw-rw-r-- 1 andyj db 337 Oct 2 2007 maven-petesucks.png
-rw-rw-r-- 1 andyj db 2875 Oct 2 2007 maven-propaganda-2.png
-rw-rw-r-- 1 andyj db 2153 Oct 2 2007 maven-propaganda.png
-rw-rw-r-- 1 andyj db 504 Oct 2 2007 maven-redgreen.png
-matthew
On Wed, Aug 1, 2012 at 8:26 AM, Andy Jefferson <an...@datanucleus.org> wrote:
> > Seems that
> > /x1/www/db.apache.org/jdo/images/logos/.svn/props
> > has permissions
> > -r--r--r-- 1 madams db 3659 Dec 20 2011 entries
> > =====
> >
> > Note the leading "/x1". I looked there and that's why I didn't see the
> > file. I see now that you meant
> '/www/db.apache.org/jdo/images/logos/.svn/props'.
>
> Well if you look at the UNIX filesystem on that server /www is a symlink to
> /x1/www so they are actually the same thing
>
>
> > I don't know how those files got such restrictive permissions, but I ran
> the
> > following command to open them up:
> >
> > find . -user madams | xargs chmod g+rw
> > Are you still having problems? Sorry I'm not very familiar with the
> site.
> > I've only updated it once ever.
>
> No. All works fine now, thanks.
>
>
> --
> Andy
> DataNucleus (http://www.datanucleus.org)
>
--
mailto:matthew@matthewadams.me <ma...@matthewadams.me>
skype:matthewadams12
googletalk:matthew@matthewadams.me
http://matthewadams.me
http://www.linkedin.com/in/matthewadams
Re: Fwd: Apache JDO site : problem with upload
Posted by Andy Jefferson <an...@datanucleus.org>.
> Seems that
> /x1/www/db.apache.org/jdo/images/logos/.svn/props
> has permissions
> -r--r--r-- 1 madams db 3659 Dec 20 2011 entries
> =====
>
> Note the leading "/x1". I looked there and that's why I didn't see the
> file. I see now that you meant
'/www/db.apache.org/jdo/images/logos/.svn/props'.
Well if you look at the UNIX filesystem on that server /www is a symlink to
/x1/www so they are actually the same thing
> I don't know how those files got such restrictive permissions, but I ran the
> following command to open them up:
>
> find . -user madams | xargs chmod g+rw
> Are you still having problems? Sorry I'm not very familiar with the site.
> I've only updated it once ever.
No. All works fine now, thanks.
--
Andy
DataNucleus (http://www.datanucleus.org)
Re: Fwd: Apache JDO site : problem with upload
Posted by Matthew Adams <ma...@matthewadams.me>.
Andy,
You said:
=====
Seems that
/x1/www/db.apache.org/jdo/images/logos/.svn/props
has permissions
-r--r--r-- 1 madams db 3659 Dec 20 2011 entries
=====
Note the leading "/x1". I looked there and that's why I didn't see the
file. I see now that you meant '/www/
db.apache.org/jdo/images/logos/.svn/props'. I don't know how those files
got such restrictive permissions, but I ran the following command to open
them up:
find . -user madams | xargs chmod g+rw
This changed the following files:
madams@minotaur:/www/db.apache.org/jdo$ find . -user madams | xargs ls -l
-rw-rw-r-- 1 madams db 8464 Dec 20 2011 ./downloads.html
-rw-rw-r-- 1 madams db 11476 Dec 20 2011 ./index.html
-rw-rw-r-- 1 madams db 939 Dec 20 2011 ./releases/release-3.0.1.cgi
-rw-rw-r-- 1 madams db 12973 Dec 20 2011 ./releases/release-3.0.1.html
Doing 'ls -al /www/db.apache.org/jdo/.svn' now gives:
total 1690
drwxrwsr-x 4 apbackup db 7 Jul 31 15:53 .
drwxrwsr-x 16 apbackup db 72 Jul 31 15:53 ..
-rw-rw-r-- 1 andyj db 3 Jul 31 15:52 entries
-rw-rw-r-- 1 andyj db 3 Jul 31 15:52 format
drwxrwsr-x 257 andyj db 257 Jul 31 15:52 pristine
drwxrwsr-x 6 apbackup db 6 Jul 31 15:53 tmp
-rw-r--r-- 1 andyj db 1585152 Jul 31 15:53 wc.db
The files are now listed with you as the owner. They must have been
changed since your email.
Are you still having problems? Sorry I'm not very familiar with the site.
I've only updated it once ever.
-matthew
On Tue, Jul 31, 2012 at 10:23 AM, Andy Jefferson <an...@datanucleus.org>wrote:
> On Tuesday 31 Jul 2012 09:46:28 Matthew Adams wrote:
> > Hi infrastructure team,
> >
> > I just saw this (below) from Andy Jefferson. I tried to look at the file
> > he says has permissions problems (/x1/www/
> > db.apache.org/jdo/images/logos/.svn/props), but it doesn't exist.
> Further,
> > I don't recall ever doing anything that would result in the permissions
> > being as they are.
>
> When I'm logged on to minotaur.apache.org (aka people.apache.org)
> and I type
> ls -al /www/db.apache.org/jdo/.svn
>
> it most certainly exists, and gives
>
> total 42
> drwxrwsr-x 6 apbackup db 9 Jul 31 14:05 .
> drwxrwsr-x 16 apbackup db 72 Apr 19 14:44 ..
> -r--r--r-- 1 madams db 6497 Dec 20 2011 all-wcprops
> -r--r--r-- 1 madams db 8922 Dec 20 2011 entries
> -rw-rw-r-- 1 andyj db 0 Jul 31 14:05 lock
> drwxrwsr-x 2 apbackup db 6 Apr 9 2011 prop-base
> drwxrwsr-x 2 apbackup db 2 Mar 9 2007 props
> drwxrwsr-x 2 apbackup db 57 Dec 20 2011 text-base
> drwxrwsr-x 7 apbackup db 7 Jul 31 14:05 tmp
>
>
> All entries with -r--r--r-- are problematic and need fixing
>
>
> --
> Andy
> DataNucleus (http://www.datanucleus.org)
>
--
mailto:matthew@matthewadams.me <ma...@matthewadams.me>
skype:matthewadams12
googletalk:matthew@matthewadams.me
http://matthewadams.me
http://www.linkedin.com/in/matthewadams
Re: Fwd: Apache JDO site : problem with upload
Posted by Andy Jefferson <an...@datanucleus.org>.
On Tuesday 31 Jul 2012 09:46:28 Matthew Adams wrote:
> Hi infrastructure team,
>
> I just saw this (below) from Andy Jefferson. I tried to look at the file
> he says has permissions problems (/x1/www/
> db.apache.org/jdo/images/logos/.svn/props), but it doesn't exist. Further,
> I don't recall ever doing anything that would result in the permissions
> being as they are.
When I'm logged on to minotaur.apache.org (aka people.apache.org)
and I type
ls -al /www/db.apache.org/jdo/.svn
it most certainly exists, and gives
total 42
drwxrwsr-x 6 apbackup db 9 Jul 31 14:05 .
drwxrwsr-x 16 apbackup db 72 Apr 19 14:44 ..
-r--r--r-- 1 madams db 6497 Dec 20 2011 all-wcprops
-r--r--r-- 1 madams db 8922 Dec 20 2011 entries
-rw-rw-r-- 1 andyj db 0 Jul 31 14:05 lock
drwxrwsr-x 2 apbackup db 6 Apr 9 2011 prop-base
drwxrwsr-x 2 apbackup db 2 Mar 9 2007 props
drwxrwsr-x 2 apbackup db 57 Dec 20 2011 text-base
drwxrwsr-x 7 apbackup db 7 Jul 31 14:05 tmp
All entries with -r--r--r-- are problematic and need fixing
--
Andy
DataNucleus (http://www.datanucleus.org)
Fwd: Apache JDO site : problem with upload
Posted by Matthew Adams <ma...@matthewadams.me>.
Hi infrastructure team,
I just saw this (below) from Andy Jefferson. I tried to look at the file
he says has permissions problems (/x1/www/
db.apache.org/jdo/images/logos/.svn/props), but it doesn't exist. Further,
I don't recall ever doing anything that would result in the permissions
being as they are.
Is there anything that you can do to fix the problem? It looks like it has
to do with the svn 1.6->1.7 upgrade.
Thanks,
Matthew
---------- Forwarded message ----------
From: Andy Jefferson <an...@datanucleus.org>
Date: Tue, Jul 31, 2012 at 9:13 AM
Subject: Apache JDO site : problem with upload
To: Apache JDO project <jd...@db.apache.org>
The old instructions to update the Apache JDO site to include any updated
files
in SVN were
1. SSH to people.apache.org
2. cd to /www/db.apache.org/jdo/
3. `cat update`
This now gives
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/x1/www/db.apache.org/jdo' is too old (format
10,
created by Subversion 1.6)
i.e the Apache machine has been upgraded to SVN 1.7+ and what was there is
for
an old revision. Doing an "svn upgrade" works until it gets to
svn: E000013: Can't stat
'/x1/www/db.apache.org/jdo/images/logos/.svn/props/maven-bolt.png.svn-work':
Permission denied
Seems that
/x1/www/db.apache.org/jdo/images/logos/.svn/props
has permissions
-r--r--r-- 1 madams db 3659 Dec 20 2011 entries
Matthew,
would you be able to fix these permissions? Maybe you could also run the
"svn
upgrade" command while at it to make sure there are no others with similar
problem later on
Thanks
--
Andy
DataNucleus (http://www.datanucleus.org)
--
mailto:matthew@matthewadams.me <ma...@matthewadams.me>
skype:matthewadams12
googletalk:matthew@matthewadams.me
http://matthewadams.me
http://www.linkedin.com/in/matthewadams