You are not checking whether the chmod succeeds. It could fail, f ex if you have neither ownership of the file nor root access (administrator rights, I presume).
Which is likely your problem in the first place. In which case: Sorry, the owner or administrator will have to give you access.
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re: Perl Permissions
by Sidhekin
in thread Perl Permissions
by blundell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |