LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Permission for files created in NT for Linux use (https://www.linuxquestions.org/questions/linux-general-1/permission-for-files-created-in-nt-for-linux-use-150078/)

strik3r 02-24-2004 04:45 PM

Permission for files created in NT for Linux use
 
Hi all,

We have an application installers for Windows and Linux, which are created on a Windows machine (NT). The installer for Linux supposed to be runable (has execute permission), but when it is zipped and copied across from Windows machine to Linux machine (by http/ftp) and unzipped, the permission of the install executable becomes rw-r--r--. Is this just the behavior when a file copied from Windows to Linux, or is there a way to preserve the execute permission?

Thanks.

ugenn 02-25-2004 04:05 AM

Windows do not use unix style permissions (well technically, they can) so win32 zipping tools will not save them. You might want to change the umask before running the unzipping tool in Linux but this affects ALL the files in the archive.


All times are GMT -5. The time now is 10:34 AM.