This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tar won't restore permissions


I just upgraded to the latest version of Cygwin. This fixed a problem
that I had with an earler version.

Now I seem to have a worse situation: tar will not restore the original
permissions from an archive. If I have a file in an archive 
-r--r--r-- 1047/everyone 37324 2001-01-19 19:15:21
perspective/myFile.cpp
the command:
tar xvzf myArchive.tgz -p 
will restore it with the permission:
-rw-r--r--

All tar's I've seen so far don't even need the -p to do the right job.
The tar that came with Cygwin B20 also works right.

Has anyone heard of this problem?
Thanks.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]