Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-24-2004, 04:45 PM   #1
LQ Newbie
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Question 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?

Old 02-25-2004, 04:05 AM   #2
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
removing last created files Prasun1 Linux - General 7 09-25-2005 07:31 PM
iTunes wipes linux created files on ipod mini rob0214 Linux - Hardware 1 12-21-2004 07:50 PM
Files being created with GMT timestamp Locura Slackware 0 12-07-2004 08:54 AM
If I delete files are new ones created?? BajaNick Linux - Software 1 07-06-2004 11:07 PM
how are /dev files created? jkobrien Linux - Hardware 3 10-17-2003 06:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration