0

I'm using IzPack to pack my application contain thousand of files that should be executable. IzPack remove the original permissions and give the unpacked files rw-rw-r-- So, there is any solution to keep the original files permissions ? Or there's some others workaround that is can do ?

Kusalananda
  • 320,670
  • 36
  • 633
  • 936
craken
  • 181
  • 1
  • 6
  • Is there any way you can invoke `bash script` while installation of IzPack. – snoop Sep 28 '15 at 07:08
  • How can i do that ? – craken Sep 28 '15 at 09:47
  • IzPack come up with xml configuration files which is use for providing options for user while installation, can you call any `bash script` or `command` at the time of installation. – snoop Sep 28 '15 at 13:25
  • Yes. I can see it. But my issue here that i want IzPack to not modify the original file permission. Can it do that ? – craken Sep 28 '15 at 15:26
  • Yes, then u can modify confiugration, and follow this instructions: http://unix.stackexchange.com/questions/71880/unable-to-preserve-ownership-in-a-copy-but-able-with-a-move. What I want to say is just call command mentioned in link. – snoop Sep 28 '15 at 15:30
  • You mean to call rsync -o ?! – craken Sep 28 '15 at 16:49
  • Let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/29633/discussion-between-marwen-bkh-and-snoop). – craken Sep 28 '15 at 16:49
  • Yes more examples: http://unix.stackexchange.com/questions/43605/how-do-i-copy-a-folder-keeping-owners-and-permissions-intact – snoop Sep 28 '15 at 16:51

0 Answers0