Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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
1  
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.