Boris Kreitchman wrote: > I encountered pretty strange tar behavior. It only happens while running > tar cvf dir1/dir2. .. > I checked it on updated RH 7.1, 7.3 and Solaris 7, so it looks like > something intentional. Can anyone explain the logic of this ?
RTFM! With GNU tar files restored by root are owned by root, you need to use --same-owner and --same-permissions to get back files the way they were. Note that the SunOS version of tar assumed those options when run by root. Be sure to get the latest version of tar. The version shipped with RH7.0, 7.1 and 7.2 did not restore symlinks properly when using the above options. Nor did exclude work properly. Tests for those bugs can be found (posted by me) in the archives of this list. Geoff. -- Geoffrey S. Mendelson Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York. Tel: 972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
