I'm sorry if this is a stupid question but I'm a total noob... I'd like to create a tar.gz archive of a directory, and I'd like to keep the permissions of the files and directories in the tar.gz. How do I do it? Torben
Simple Answer If you type tar --help on command line, it will show you all the options that you are allowed to do.
Here is a more detailed example on how to create a tar.gz file. https://www.howtoforge.com/tutorial/linux-tar-command/