Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

CGI/Perl help

  • 29-07-1999 06:45PM
    #1
    Closed Accounts Posts: 202 ✭✭


    I'm having problems creating new files to write to on my server. Everything works fine locally but when I upload the script it just doesn't work.
    And it's not the modules because I uploaded those too.

    Here's what I'm using:

    use Fcntl qw( O_RDWR O_CREAT );

    sysopen(FILE, "$filename", O_RDWR|O_CREAT, 0666) or die $!;

    The error I'm getting is "permission denied"
    Anyone know a way around this?


Advertisement