# make the file writable by our user if possible (which resets any
# prior permissions as long as we're the owner).
system("chmod u+rw '$file'");
# make the file writable by our user if possible (which resets any
# prior permissions as long as we're the owner).
system("chmod u+rw '$file'");