bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] tar do carry permissions


From: Amarnath Sharma
Subject: [Bug-tar] tar do carry permissions
Date: Mon, 5 Nov 2007 06:42:39 -0600 (CST)

Hi,

I am writing an application which uses GNU tar 1.16 on Windows.
The problem is, tar do not carry all the permissions. When the 
archive is untar on other system the files do not have same permissions ,
so the application fail to read the file.

I tried tar and untar on the same machine and permission do not carry
a. archive a file a.txt to xyz.tar
b. deleted the file a.txt
c. untar xyz.tar 
I found that a.txt now loose some of the permission like full control.

Is there a workaround for this. I tried -p --perserve-permission also but no 
avail.

Thanks

Amarnath Sharma | Your_Title | sanovi technologies | www.sanovi.com 

Direct: 781-270-4111 ext your_extension | Cell: your_cell | Fax: your_fax 

*********************************************************************************
NOTICE & DISCLAIMER: This e-mail message and any attachment hereto contains 
confidential and proprietary information for the sole limited use of the 
intended recipient. Any review or distribution by others is strictly 
prohibited, and all rights arising upon unauthorized distribution are hereby 
reserved in full. If you are not the intended recipient of this communication, 
please contact the sender and delete all copies immediately. Please note that 
any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of the company. Finally, the recipient 
should check this email and any attachments for the presence of viruses. 
*********************************************************************************
 :
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]