Hopefully this is a simple one. I'm running a perl script which unzips a file using gunzip. This was failing and it appears the script doesn't have permission to either read the the gz file or to create the unzipped file. The permissions on the file to unzip are rwxrwxrwx so I presume it must be an issue with creating the new file. I ran the script under sudo and the file was gunzipped successfully confirming a permissions issue.
How do I give the script permission to create the unzipped file? I am surprised by this as the script makes a directory in the same location without problem Thanks for your helpIn reply to gunzip failure in perl script by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |