Unix/Web file ownership question...

Paunchy

Member
Sep 19, 2001
126
0
0
Alright, here's the situation... I'm publishing a website to a Raq server. One of the pages in the site contains a form that uses a generic form mailer. Now I've set the permissions on the cgi-bin directory to 755, the permissions for the formmail script to 755, and yet when I try to submit the form, the Raq responds with this canned message:

Execution of (nobody) is not permitted for the following reason:
User not Privileged.

I'm pretty sure I've covered the basics, but is there something I didn't think of? Thanks in advance.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
The webserver is running as nobody. That means that the user nobody will have to have write access to the file.

I'm assuming the files are owned by you, and not root or nobody. So, 755 - the first digit indicates the owner of the file: you. 7 is all permissions, so you can read, write, and execute the file. the next digit is for group. I'd guess that's a group with the same name as your user name, but may be something else. It is set to 5, meaning read and execute, but not write. The last digit is for everyone's access. It is also set to 5, which is read and execute. I'm assuming that "nobody" falls into the third category. Your choices are to set the file writable by everyone (777), or to keep it set at 755 and give ownership of the file to nobody.
 

Paunchy

Member
Sep 19, 2001
126
0
0
Actually, the files are owned by "nobody" with the 755 permission set on them. Does the ownership have to be changed for the script in order to have it executed by the world? I was under the impression that if that as long as the group permission was set to 5, it doesn't matter who the file belongs to.
 

Paunchy

Member
Sep 19, 2001
126
0
0
Yeah, Matt's Scripts... I checked a few of the other site directories hosted on this machine, and apparently any other site using cgi's has an owner other than "nobody" associated with the file. Guess I'll just have to ask the sys admin to create a valid user other than "nobody" to take ownership of the file. Thanks for your help though.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
I did a little search based on your error message, and it seems to be RAQ specific, and I have no experience with those machines.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |