[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [vps-mail] On the subject of permissions, mail & SA
- Subject: Re[2]: [vps-mail] On the subject of permissions, mail & SA
- From: Abigail Marshall <abigail@xxxxxxxxxxxx>
- Date: Thu, 8 Apr 2004 11:29:48 -0700
>
>> Thanks. The program in question still is balking unless I
>> set permissions on the directory to 777, but at least I am
>> starting to get a better understanding.
SW> What's the ownership of the directory? That is equally important as
SW> the permissions. [we should probably off-line this discussion
SW> now. Feel free to email me directly]
SW> Scott
Thanks - I think I've got it now. Most of the program files
had been initially created or uploaded with "root" as the
owner, but I saw that the data files are being created as
"www" as owner - so I chown/chmod the directory from:
It writes to/reads from data stored here:
/www/data#
drwxrwxrwx 4 root username 512 Apr 8 10:18 dada
to:
drwx------ 4 www username 512 Apr 8 11:16 dada
And it now seems to be working.
So I guess the key for me is to set owners on any "cgi"
programs that I run as "www".
This is the main account on the server - no subhosts - so
the cgi is under the /www/cgi-bin directory, and I have not
done anything whatsoever to alter the httpd.conf file from
the default installation. So there is no VirtualHost
configuration as discussed in your tutorial - hence no
assignment of user/group other than default. I have no
intention of subhosting with this particular server, because
it basically is going to be dedicated to mail handling.
Anyway, thanks for your help.
-Abigail
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index