I run Debian. I have a tar archive that, when extracted, assigns 777 permissions to all files/folders in it. I believe this has to do with the fact that I'm root, but is there a way to make it so they default to 755/644?
tar xfz jaws-complete-0.8.18.tar.gz
I tried editing
/etc/login.defs, logged out and back in but no change.
I noted there is a
--no-same-permissions option, but is there a way around using this?