Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Name: MM 2013-07-25 18:10

All methods I or Google found to move directories in a .tar file requires me to extract the files and then place them back in. The problem is, I don't have access to the account or any account in the group that the directory's permissions in the .tar file specifies, so I can't extract it with the exact same permissions, but I still don't want the permissions for the directory in the .tar file to change. Is there a way to move directories in a .tar file without breaking permissions (thus definitely without extracting the directories first)?

Name: Anonymous 2013-07-25 20:43

Just do it on a machine that you have root on. Copy the files as needed with the preserve attributes flag (-p) and then retar. That'll keep everything as it should be.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List