• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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

ItemTemplate
Summary RCS (cygwin) or twiki apply permission on file with READ and not WRITE
ReportedBy TWiki:Main.RomainPelissier
Codebase

SVN Range Thu, 02 Feb 2006 build 8675
AppliesTo Engine
Component

Priority Urgent
CurrentState No Action Required
WaitingFor

TargetRelease major
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-03-01 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback