I am using twiki on a Windows2003 box, IIS6 is my web server and I use also
ActivePerl and Cygwin.
I am using the lastest Dakar Realse (4.01)
>
All files in twiki are writable by the IIS6 user called IUSR_WEB
>
Configure.pl is ok for me ad for twiki as well
When I try to update some stats on twiki, it works once, and if I try it again, I've got an error :
| 07 Feb 2006 - 15:45 | RCS: failed to create file C:/Inetpub/cgi-bin/data/Main/WebStatistics.txt: Permission denied at C:/Inetpub/cgi-bin/lib/TWiki/Store/RcsFile.pm line 722.
| 07 Feb 2006 - 16:26 | RCS: failed to create file C:/twiki/data/Main/WebStatistics.txt: Permission denied at C:/twiki/lib/TWiki/Store/RcsFile.pm line 722.
| 07 Feb 2006 - 16:57 | RCS: failed to create file C:/twiki/data/Main/WebStatistics.txt: Permission denied at C:/twiki/lib/TWiki/Store/RcsFile.pm line 722.
| 08 Feb 2006 - 09:45 | RCS: failed to create file C:/twiki/data/Main/WebStatistics.txt: Permission denied at C:/twiki/lib/TWiki/Store/RcsFile.pm line 722.
I then chech the permission on the file and I found that :
- everybody : READ&EXEC; READ
- IUSR_WEB : READ&EXEC; READ; SPECIAL (in fact almost all rights but not CREATE FILE/WRITE DATA and CREATE FOLDERS/APPEND DATA)
- NONE\NONE (a group from ... nowhere) : READ&EXEC; READ
I cannot determine where the problem is so that's why I open this bug.
Is it twiki or cygwin the problem ?
Because of lack of documentation about this special settings (twiki, Windows2003,
ActivePerl, Cyrgwin), I really don't what's going wrong. I am pretty sure that other users make it works on the same settings but I cannot find any help on this.
I you can tell me more about how twiki handle the file creation or modification it could me me to determine where is the main problem.
Any help would be greatly appreciated.
Give more details if possible.
I you change the
WebStatistics.txt file to read/write, will it work again (once/twice) etc?
--
SP
Similar report in
TWiki:Support.CVSAndMailProblems
.
--
SP
I'm working with a setup which is at least similar (pure cygwin). But since RCS
is cygwin, you could try the following in a cygwin bash shell (you may need to adapt the paths to your setup):
-
ls -l /cygdrive/c/twiki/data/Main/WebStatistics.txt
-
ls -ld /cygdrive/c/twiki/data/Main
Check who is, in cygwin's view, owner of the files and directories: twiki/rcs/cygwin does grant write access to the "owner" of the file, but doesn't change the owner. Furthermore, changing permissions needs full access to the
directory. If the owner isn't IUSR_WEB, you could try:
-
chown -R IUSR_WEB /cygdrive/c/twiki/data
TWiki:Main.HaraldJoerg
No feedback, so I'm assuming this is not a bug. Discarded.
CC