Re: how to preserve permission and ownership ?

Gabriel Briones <[email protected]> Tue, 6 Dec 2005 11:27:36 +0800
Newsgroups gmane.org.user-groups.linux.philippine.newbies
Message-ID <[email protected]>
You can use -p option to preserve permissions

tar -zcpvf filename.tar.gz file.to.backup


-jon-


On 12/6/05, sp@rt@cus <[email protected]> wrote:
> hi guys,
>  ive created a backup server with a fat32 hd mounted  and  it will be use=
d
> to  hold my backup files.  After  backup  and compressing the files , i
> transfered  the backup files  to my backup server on  /home/backup.  NO
> problem after decomressing the files, permission and ownership are intact=
. I
> got this problem when i tried to move the backup files to the fat32 mount=
ed
> hard disk. All my permission are gone when i untar them. how can i preser=
ve
> the perm and ownership for these files ?
>
>  tia
>
_________________________________________________________
Philippine Linux Users' Group (PLUG) Newbie Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph