On Monday, December 09, 2013 05:02:17 PM Antonio Scuri wrote: > Is there a way to ignore permissions when creating the tgz? So it is > packed with no permissions? > > Because I create it on Windows using tar from Cygwin and a script, and my > file system is NTFS. When copying files or creating tars, sometimes the > permissions are all wrong. >
GNU tar only lets you set mode bits on every entry, so you'd end up with all regular files having the executable bit set which obviously you're trying to avoid. Perhaps you want to try using the tar from Mingw. Cygwin does strange things with mode bits unless the files are only ever written by Cygwin. Mingw tries to normalize all files to 0644 and directories to 0755. -- tom <[email protected]> ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
