myheadhurts has asked for the wisdom of the Perl Monks concerning the following question:

i have a web site on yahoo shared servers im trying to run a cgi script but i need to change file permissions so public has write access yahoo said i need to use htaccess anyhelp would be great thank you

Replies are listed 'Best First'.
Re: file permissions
by moxliukas (Curate) on Sep 29, 2002 at 23:57 UTC

    I am not sure how things are done on Yahoo, but most FTP clients have chmod command to change file permissions, so if you have FTP access you can use that.

    .htaccess would come handy if the directory is not set up to be used as CGI (in other words if it doesn't have Options +ExecCGI set.)

Re: file permissions
by charnos (Friar) on Sep 30, 2002 at 01:14 UTC
    As moxliukas said, most FTP clients allow you to set your permissions when you're uploading. While I've never used their servers before, I wouldn't be surprised if they didn't allow FTP access. Also, I wouldn't be surprised if .htaccess files don't work as you would expect in the normal user directories they offer.

    It would appear that with what you want to do, a normal free server won't work. There are other hosts that offer limited access including the things you need for free, although I don't know any offhand. If you're looking to test out scripts (in a non-production setting, obviously), perhaps you could contact jcwren about an account on Perlmonk.org.
      "While I've never used their servers before, I wouldn't be surprised if they didn't allow FTP access."

      If I remember correctly a few years back I had a site hosted on Yahoo! and they did _not_ give you FTP access. Although, I do remember something in their web-based admin system that allowed the setting of permissions... maybe I'm thinking of something else though :)