LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 02-24-2004, 05:45 PM   #1
strik3r
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?

Thanks.
 
Old 02-25-2004, 05:05 AM   #2
ugenn
Member
 
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.
 
  


Reply


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 08:31 PM
iTunes wipes linux created files on ipod mini rob0214 Linux - Hardware 1 12-21-2004 08:50 PM
Files being created with GMT timestamp Locura Slackware 0 12-07-2004 09:54 AM
If I delete files are new ones created?? BajaNick Linux - Software 1 07-07-2004 12:07 AM
how are /dev files created? jkobrien Linux - Hardware 3 10-17-2003 07:42 AM


All times are GMT -5. The time now is 09:44 AM.

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