Cory Petkovsek wrote:

> There is no 'p' option in the source that says to "preserve permissions"
> in the tar ball.  You use them on export, but they aren't there.

The "p" flag has no effect when creating a tarball.

$ tar cf - euglug | md5sum
1cfe60f42b337f047414ae29ed76eae6  -
$ tar cfp - euglug | md5sum
1cfe60f42b337f047414ae29ed76eae6  -

The permissions are always there.

$ tar cfp - euglug | tar tvf -
drwxr-xr-x kbob/kbob         0 2003-03-18 23:02:34 euglug/
drwxr-xr-x kbob/kbob         0 2002-09-24 09:29:58 euglug/docs/
-rw-r--r-- kbob/kbob      1004 2002-09-24 09:29:57 euglug/docs/index.html
-rw-r--r-- kbob/kbob      1009 2002-09-24 09:29:58 euglug/docs/index.html~
drwxr-xr-x kbob/kbob         0 2002-09-24 09:29:58 euglug/logs/
drwxr-xr-x kbob/kbob         0 2003-04-07 10:47:34 euglug/.AppleDouble/
-rw-r--r-- kbob/kbob       589 2003-04-29 09:41:12 euglug/.AppleDouble/.Parent

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to