Tar and Permission
Hello,I came up with a problem today.
I used the below command to tar up every files in a directory, so I could transfer it to another account without altering the permissions.
tar -cvzf xxx.tgz *
Then I "cp" the xxx.tgx to another account, and used the below command.
tar -xvzf xxx.tgz
Everything works fine, except for one thing.
When I used an ftp client software (CuteFTP), and tried to change the permission of the files & directories from the tar, it wouldn't let me. I uploaded a cgi file on my pc to the account, and tried to change the permission, and it worked.
This is not very practical.
Does anyone know how to solve this problem without re-upload through CuteFTP, but through the command line?