LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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, 04: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration