Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Signing - Permission denied

On 09/13/2011 11:45 AM, Zeb Ford-Reitz wrote:
The signing is now successful, but our promotion script fails with what seems to be a similar reason:
========
[exec] mkdir: cannot create directory `/home/data/httpd/download.eclipse.org/jubula/archive/1.1.0': Permission denied
========

Might this have the same cause?

The problem is similar -- the Hudson build user cannot write to your project's downloads directory.

Unlike the signing area, the downloads directories are public-facing, so we don't allow the Hudson build user to write there by default.  Although we don't encourage it either, you can set up an ACL to allow writing to your downloads area by Hudson if you are comfortable with whatever risk is inherent to such a setup.  I think I will elaborate on this in a separate email.

I suggest you maintain a promotion process on the build server which, running as your committer account, publishes known-good content from Hudson into your downloads directory.

Once you determine which approach is best for you, you can search the archives of this list to find some clues  :)

Denis



 - Zeb

On 13.09.2011 17:02, Denis Roy wrote:
On 09/13/2011 10:48 AM, Kenn Hussey wrote:
I had a similar issue and was able to resolve it by making the directories in my signing path writeable by anybody.

I know that is easier to do that opening a bug, but please undo it.  World-writeable content is pure evil and you know it.


It seems like this started occurring right after the transition to a new storage device for the /shared filesystem.

Indeed, that's what happened.  We were missing an ACL that would allow the Hudson build user to write to the signing area.

The ACL is there now -- can you please try again?

Thanks.


Denis


Back to the top