2
votes
3answers
2k views

gzip change file ownership

Here is a case i don't understand i have a group 'bar', and this group has two users; 'foo' and 'bar'. I have a test.txt file, 'foo' is the owner and 'bar' user only can read it. However, if 'bar' ...
2
votes
2answers
2k views

gzip compressed file ownership and permissions

I'm trying to find out how gzipping a file changes its permissions. The gzip manual (man gzip) says: Whenever possible, each file is replaced by one with the extension .gz, while keeping the ...