Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
File permission problems on ccgi
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: File permission problems on ccgi
File permission problems on ccgi
06-03-2008 10:18 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi,
I've installed a TWiki on the cgi server, but I'm having problems with the session files.
These are initially created with me as the owner and cgiusers as the group with the following permissions:
-rw-r--r--
This seems to cause a problem, since I'm having to chmod the files to rw-rw-r-- or I get an error in TWiki (the world rights don't seem to be the issue, since rw-rw---- is also ok).
Oddly, ---rw---- is also no good, which implies that sometimes I'm trying to update these files under my username, and sometimes via the group.
In addition, occasionally these files are created with a owner/group of nobody/nogroup, but I can't quite work out when and why this happens.
I'm assuming that nobody/nogroup is used when apache creates the files, and userrname/cgiusers when a cgi script creates them.
Anyone got any ideas how I could sort this out? Currently, my only solution has been a crontab that resets the permissions once a minute, but this is obviously an 'orrible kludge, and results in intermittent problems.
Oh, and anyone know why chown and chgrp aren't available? And also why I can't setgid on directories?
UPDATE
I've given up and installed mediawiki (an oldish version, since current needs php5). Much easier.
I've installed a TWiki on the cgi server, but I'm having problems with the session files.
These are initially created with me as the owner and cgiusers as the group with the following permissions:
-rw-r--r--
This seems to cause a problem, since I'm having to chmod the files to rw-rw-r-- or I get an error in TWiki (the world rights don't seem to be the issue, since rw-rw---- is also ok).
Oddly, ---rw---- is also no good, which implies that sometimes I'm trying to update these files under my username, and sometimes via the group.
In addition, occasionally these files are created with a owner/group of nobody/nogroup, but I can't quite work out when and why this happens.
I'm assuming that nobody/nogroup is used when apache creates the files, and userrname/cgiusers when a cgi script creates them.
Anyone got any ideas how I could sort this out? Currently, my only solution has been a crontab that resets the permissions once a minute, but this is obviously an 'orrible kludge, and results in intermittent problems.
Oh, and anyone know why chown and chgrp aren't available? And also why I can't setgid on directories?
UPDATE
I've given up and installed mediawiki (an oldish version, since current needs php5). Much easier.
Message 1 of 2
(1,107 Views)
1 REPLY 1
Re: File permission problems on ccgi
09-03-2008 11:39 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Does it not work, when you chmod all to 755 (rwx, r-x, r-x)?
When this works then you can use 750 (rwx, r-x, ---) as well, is my experience, and that is always recommended by the forum moderators.
When this works then you can use 750 (rwx, r-x, ---) as well, is my experience, and that is always recommended by the forum moderators.
Message 2 of 2
(300 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: File permission problems on ccgi