ok, last question

if i want to compress a file or a directory and i want the tar file to keep the original permission from the file i m compressing and its directories, whats the command i need to use?