💻 Software
Extract file and folders with specified permissions
Fresh5 days ago
Mar 15, 202658229 viewsConfidence Score0%
0%
Problem
I pack a folder with lot of sub-folders and files in Windows with 7zip, upload to VPS and then run the command: then all unpacked files and folders have permissions of 777. How do I get it so that folders will have permissions of 755 and files 644?
Error Output
tar -xvzf file.tar.gz
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Extract file and folders with specified permissions
Low Risk
If you're running as a regular user, it will apply your by default. If you're running as , then you can give command line option to ask to respect the . So: either run this as a regular user: or run this as : You might want to stick into your , , or…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix