Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353589 - can't delete files under download.eclipse.org/egit/updates-nightly/
Summary: can't delete files under download.eclipse.org/egit/updates-nightly/
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 353539
  Show dependency tree
 
Reported: 2011-08-02 10:15 EDT by Matthias Sohn CLA
Modified: 2011-08-08 15:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2011-08-02 10:15:50 EDT
It seems I can't manually delete the current content of
/home/data/httpd/download.eclipse.org/egit/updates-nightly/

I am a member of technology.egit and the file permissions seem ok
but I hit permission denied, any clue why ?

Also our build job seems unable to delete files there
https://hudson.eclipse.org/hudson/job/egit/1558/console
(that's the reason I am trying to delete them manually).

msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly> rm -rf *
rm: cannot remove `features/org.eclipse.egit.mylyn_1.1.0.201107281419.jar': Permission denied
rm: cannot remove `features/org.eclipse.jgit_1.1.0.201107281416.jar': Permission denied
rm: cannot remove `features/org.eclipse.jgit_1.1.0.201107281416.jar.pack.gz': Permission denied
[... more lines like these for all existing files and folders ...]

msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly> groups
common signers callisto-dev technology.egit technology.jgit mylyn.reviews technology.skalli

msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly> ls -alr *
plugins:
total 14708
-rw-rw-r-- 1 hudsonBuild technology.egit  737074 2011-07-28 14:27 org.eclipse.jgit.source_1.1.0.201107281410.jar.pack.gz
-rw-rw-r-- 1 hudsonBuild technology.egit 1441071 2011-07-28 14:27 org.eclipse.jgit.source_1.1.0.201107281410.jar
[... more of these ...]
Comment 1 Eclipse Webmaster CLA 2011-08-03 10:20:18 EDT
I suspect the hudosn issue was related to bug 353581 as I can create and delete files in that tree as the hudson user on hudson.

I can't replicate the issue you're seeing on build though.  If I create files as hudson I can delete them as you.

-M.
Comment 2 Matthias Sohn CLA 2011-08-03 16:57:25 EDT
Hudson build can now again delete files and hence doesn't fail anymore

I tried again to delete manually, it seems I am able to delete some of the files (e.g. artifacts.jar, content.jar), but I can't delete content of plugins, features and META-INF folders despite the fact that they have the same permission settings:

msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly> ls -al
total 44
drwxrwsrwx  5 caniszczyk  technology.egit  4096 2011-08-03 10:18 .
drwxrwsr-x 19 caniszczyk  technology.egit  4096 2011-07-28 15:22 ..
-rw-rw-r--  1 hudsonBuild technology.egit  1579 2011-08-02 15:15 artifacts.jar
-rw-rw-r--  1 hudsonBuild technology.egit 14538 2011-08-02 15:15 content.jar
drwxr-sr-x  2 hudsonBuild technology.egit  4096 2011-08-02 15:15 features
drwxr-sr-x  2 hudsonBuild technology.egit  4096 2011-08-02 15:15 META-INF
drwxr-sr-x  2 hudsonBuild technology.egit  4096 2011-08-02 15:15 plugins
-rw-rw-r--  1 hudsonBuild technology.egit  1529 2011-08-03 10:13 site.xml
msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly> rm -rf *
rm: cannot remove `features/org.eclipse.egit.mylyn_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `features/org.eclipse.jgit.source_1.1.0.201108021218.jar.pack.gz': Permission denied
rm: cannot remove `features/org.eclipse.jgit_1.1.0.201108021218.jar.pack.gz': Permission denied
rm: cannot remove `features/org.eclipse.egit.source_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `features/org.eclipse.egit.source_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `features/org.eclipse.egit_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `features/org.eclipse.egit.mylyn_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `features/org.eclipse.jgit_1.1.0.201108021218.jar': Permission denied
rm: cannot remove `features/org.eclipse.jgit.source_1.1.0.201108021218.jar': Permission denied
rm: cannot remove `features/org.eclipse.egit_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `META-INF/eclipse.inf': Permission denied
rm: cannot remove `META-INF/ECLIPSEF.SF': Permission denied
rm: cannot remove `META-INF/ECLIPSEF.RSA': Permission denied
rm: cannot remove `META-INF/MANIFEST.MF': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.doc_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.ui.source_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.mylyn.ui.source_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.ui.source_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.ui_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.mylyn.ui.source_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.jgit.source_1.1.0.201108021211.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.ui_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.mylyn.ui_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.mylyn.ui_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.jgit_1.1.0.201108021211.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.core.source_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.jgit_1.1.0.201108021211.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.core.source_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.core_1.1.0.201108021506.jar': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.core_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.egit.doc_1.1.0.201108021506.jar.pack.gz': Permission denied
rm: cannot remove `plugins/org.eclipse.jgit.source_1.1.0.201108021211.jar': Permission denied
msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly> cd features
msohn@build:/home/data/httpd/download.eclipse.org/egit/updates-nightly/features> ls -al
total 172
drwxr-sr-x 2 hudsonBuild technology.egit  4096 2011-08-02 15:15 .
drwxrwsrwx 5 caniszczyk  technology.egit  4096 2011-08-03 16:52 ..
-rw-rw-r-- 1 hudsonBuild technology.egit 19329 2011-08-02 15:15 org.eclipse.egit_1.1.0.201108021506.jar
-rw-rw-r-- 1 hudsonBuild technology.egit 14983 2011-08-02 15:15 org.eclipse.egit_1.1.0.201108021506.jar.pack.gz
-rw-rw-r-- 1 hudsonBuild technology.egit 19140 2011-08-02 15:15 org.eclipse.egit.mylyn_1.1.0.201108021506.jar
-rw-rw-r-- 1 hudsonBuild technology.egit 14790 2011-08-02 15:15 org.eclipse.egit.mylyn_1.1.0.201108021506.jar.pack.gz
-rw-rw-r-- 1 hudsonBuild technology.egit 19277 2011-08-02 15:15 org.eclipse.egit.source_1.1.0.201108021506.jar
-rw-rw-r-- 1 hudsonBuild technology.egit 14889 2011-08-02 15:15 org.eclipse.egit.source_1.1.0.201108021506.jar.pack.gz
-rw-rw-r-- 1 hudsonBuild technology.egit 15670 2011-08-02 15:15 org.eclipse.jgit_1.1.0.201108021218.jar
-rw-rw-r-- 1 hudsonBuild technology.egit 10732 2011-08-02 15:15 org.eclipse.jgit_1.1.0.201108021218.jar.pack.gz
-rw-rw-r-- 1 hudsonBuild technology.egit 15715 2011-08-02 15:15 org.eclipse.jgit.source_1.1.0.201108021218.jar
-rw-rw-r-- 1 hudsonBuild technology.egit 10711 2011-08-02 15:15 org.eclipse.jgit.source_1.1.0.201108021218.jar.pack.gz
Comment 3 Denis Roy CLA 2011-08-03 19:25:47 EDT
(In reply to comment #2)
> despite the fact that they have the same permission settings:

The permissions aren't the same.  It seems directories are not group-writable.  Can you configure your job to create group-writable directories?
Comment 4 Denis Roy CLA 2011-08-08 15:31:33 EDT
I've fixed your permissions.