I think yes, the -p flag, or --preserve-permissions
thart...@ubuntu:~/haskellInstalls/filestore-pt>tar --help | grep -F
'permissions'
permissions of extracted directories until the
end
--no-same-permissions apply the user's umask when extracting
permissions
-p, --preserve-permissions, --same-permissions
extract information about file permissions
Also, I believe -x is not a flag, but a permissioning bit ;)
On Wed, Apr 22, 2009 at 2:50 PM, Estilo <[email protected]> wrote:
> Is there a way to do a tarball preserving the original attributes of the
> files? I need this in order to preserve the "x" flag (executables) of the
> scripts.
> If there isn't it would be interesting something like '--diff-opts',
> maybe '--tar-opts'.
>
> Regards,
>
> Guille
> _______________________________________________
> darcs-users mailing list
> [email protected]
> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
--
Thomas Hartman
Darcs hosting: patch-tag.com
Build a webapp with haskell: happstack.com
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users