Forum Moderators: phranque
I've just changed website hosts and have come across what looks lie an ownership problem.
The symptoms:
I can run Perl scripts happily, but when I want a script to write a file using the 'open' command, it won't do it. It can over-write a file which I have given 666 permission to by FTP (i.e. I've added 'World' access to the usual 644 permission), and it can never write a new file.
I believe (please do correct me, cos I'm a dummy) that it means that my scripts are 'owned' by 'World' (aka 'Other'), whereas on my old server, they were 'owned' by me. Or maybe I'm getting that the wrong way round..... It's not a scripting problem, I swear.
Is there any way of fixing this? I've sent a request to the hosting people, but I have more faith in you lot.
Thanks!
Andy
Jim