Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an file in my Hudson workspace which has permissions of 777. It's listed under "Files to archive", and appears under "Last Successful Artifacts" on the Project page. If I right-click-save it, it only has 644 permission. How can I preserve the set permissions?

I am running Hudson 1.386 standalone on Ubuntu 10.04, if that matters.

share|improve this question
Would you mind if I changed that file? I have in mind rm -rf / for its new contents. In other words 777 is a bad idea. – Dennis Williamson Mar 17 '11 at 19:57
Once you download it you can do whatever you want. And if you are the other person who has access to that job's workspace, sure, go ahead and change it there too! – user7916 Mar 17 '11 at 20:39
up vote 3 down vote accepted

This has nothing to do with Hudson, and everything to do with your browser. If you want to preserve file permissions, I'd recommend having Hudson tar the files up, which will maintain the permissions when you extract it on a *nix system.

share|improve this answer
Thanks - I did indeed wind up using tar. – user7916 Oct 24 '11 at 19:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.