0

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.

Andrew M.
  • 10,982
  • 2
  • 34
  • 29
user7916
  • 125
  • 7
  • 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

1 Answers1

3

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.

Andrew M.
  • 10,982
  • 2
  • 34
  • 29