Server experts - perl question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rip
    Confirmed User
    • Jan 2001
    • 1456

    #1

    Server experts - perl question

    I have not had a problem like this before;

    I am self taught at writing perl and a small perl script which writes unique html pages from one cgi folder, on a few domains which reside on one server

    the problem I have encountered while testing this script is that the pages created cannot be deleted or changed or even overwritten by the script, because it seems they are written by the 'nobody' user

    I tried chmoding them or deleting them by ftp, but still get a 'permission denied' error.

    Is there any way of configuring the flock or omitting the flock to allow these pages to be manipulated by ftp or other

    I know that I can have the server admin, go in and delete the test files, but I'd like to set it up so I don't have to do this every time

    thanks for any suggestions,
    ...
  • FuqALot
    Confirmed User
    • Dec 2001
    • 3817

    #2
    Hi,

    try chowning the folders you are going to write to.
    'nobody' is your web group? anyway chown it using multiple users, like nobody:ftpcronetc. That might do.

    Comment

    • rpet
      Confirmed User
      • Sep 2002
      • 537

      #3
      I can help ya..

      http://www.cgiscriptinstalls.com

      Thanks,
      Rpet
      sig too big

      Comment

      • Rip
        Confirmed User
        • Jan 2001
        • 1456

        #4
        Originally posted by FuqALot
        try chowning the folders you are going to write to.
        'nobody' is your web group? anyway chown it using multiple users, like nobody:ftpcronetc. That might do.
        Thanks I will ask the admin to do that for me, and see if that helps
        ...

        Comment

        Working...