I try to tar a file and set the permissions to 666 using the mode flag. But whatever permission I set, it is simply being ignored. Command:
tar xvzf backup.tar.gz --mode=666 -C /home/user/
Till all files show up with their original permissions.
Am I doing something wrong?