more TAR file creation issues

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
vrungel
Junior Member
Junior Member
Posts: 2
Joined: 2003-11-20, 18:34 UTC

more TAR file creation issues

Post by *vrungel »

Hi! First off, thanks for such a great product as Total Commander! Kudos to Christian!

The problem I have with a TAR file creation is that it messes up the permissions of files being tarred up. I'm trying to tar up one file which doesn't have a long filename, but which resides on a remote network drive (a netapp box). When I copy and untar the new TAR file back on the remote drive location, the permissions on the file insude of the TAR are changed to a more restrictive state. If I create a TAR file in the same Windows sesssion using MKS Tools and then untar it in the same Unix session, all original permissions are retained fine. Is that a known issue? THanks for help.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Windows doesn't know about Unix permissions, so how should TC be able to pack them?
Author of Total Commander
https://www.ghisler.com
vrungel
Junior Member
Junior Member
Posts: 2
Joined: 2003-11-20, 18:34 UTC

Post by *vrungel »

well if I just copy a file with the following permissions: -rwxrwxr-x from UNIX to NT, tar it up, then copy the tar back to unix and untar it there, the permissions on the extracted becomes -rw-r--r--. If I untar the file on NT and copy the file back to UNIX, the permissions is back to -rwxrwxr-x. So something gets screwed up during the TARing process and the way UNIX understands the created TAR file.
Post Reply