Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <12F176DD950ED411B68E0050DA14ED1033890F@jupiter.gunzphoto.com.au> From: Neil Lunn To: "'cygwin AT cygwin DOT com'" Subject: RE: problem with tar -xvzf and permissions on W2K Date: Fri, 20 Jul 2001 11:10:34 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" >-----Original Message----- >From: Steve Jorgensen [mailto:jorgens AT coho DOT net] >Sent: Friday, July 20, 2001 10:48 AM >To: Cygwin List (E-mail) >Subject: problem with tar -xvzf and permissions on W2K >Previously, I have been using a native Windows unzipper to >extract binary >packages into my Cygwin directory. It has always worked >properly, but I >decided it's probably a bad idea because of possible issues >permission/attribute bits and shortcuts. Funny enough, I have >only had >problems now that I've tried to use tar from the Cygwin command prompt. > >In this case, from the Cygwin root, I tried to extract the >Cygipc package >using tar -xvzf ... In all cases where a new directory was By the way the "-" is depreciated. tar zxvf (hey just how I type it) will do. >created, files >were not extracted into it because of permission errors. When >I checked >the Windows permissions on these folders, I found that >ownership had been >assigned to "Administrator", not "Administrators", permissions were Yes the owner will be Adminstrator, That is the default for NT. Administrators is a local group, not an account. Hmmn. Are you using ntsec? Are you part of a domain? It looks as though your /etc/passwd and /etc/group files are not properly configured. > I was able to extract the package just fine using Power Archiver for Windows. I wouldn't expect this to continue. The problem is not tar or gzip or bzip2 but with your security setup. It is also a Windows NT "feature" that if you were to copy a file using a program like explorer or something simillar, the ownership will set to administrator as long as you have administrative permissions on the machine. This is regardless of what your actuall account name is. --Neil __________________________________________________________________________ Please Note : Only the intended recipient is authorised to access or use this e-mail. If you are not the intended recipient, please delete this e-mail and notify the sender immediately. The contents of this e-mail are the writer's opinion and are not necessarily endorsed by the Gunz Companies unless expressly stated. We use virus scanning software but exclude all liability for viruses or similar in any attachment. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/