Question
I recently installed TWiki. We have about 10 users on our system, and everyone can view and edit without problems.
However, some of the user pages (
FirstLast pages) don't seem to work. They give the error: No permission to read topic
NewUserTemplate - perhaps you need to log in?
Only 7 of the 10 user pages do this. The only other page that does this is
TWikiUsers. It gives the error: No permission to read topic
TWikiUsers - perhaps you need to log in?
I am logged in of course. No one can view the pages in question, inlcuding the users themselves. All users belong to the same group, and that group has full access to the pages.
I checked the permissions in the data directory, and here's what I see. The first user I can access, but the second I can not.
[data]$ ls -la Main/FirstUser.*
-rw-r--r-- 1 wwwsrv nobody 1062 Feb 10 10:17 Main/FirstUser.txt
-r--r--r-- 1 wwwsrv nobody 2231 Feb 10 10:17 Main/FirstUser.txt,v
[data]$ ls -la Main/SecondUser.*
-rw-r--r-- 1 wwwsrv nobody 206 Dec 9 13:32 Main/SecondUser.txt
-r--r--r-- 1 wwwsrv nobody 397 Dec 9 13:32 Main/SecondUser.txt,v
[data]$ ls -la TWiki/NewUserTemplate.*
-rw-rw-r-- 1 wwwsrv users 1095 Aug 15 2004 TWiki/NewUserTemplate.txt
-rw-rw-r-- 1 wwwsrv users 3613 Aug 15 2004 TWiki/NewUserTemplate.txt,v
[data]$ ls -la Main/TWikiUsers.*
-rw-rw-r-- 1 wwwsrv nobody 24 Feb 21 13:51 Main/TWikiUsers.lock
-rw-r--r-- 1 wwwsrv users 162 Dec 9 18:57 Main/TWikiUsers.txt
-r--r--r-- 1 wwwsrv nobody 10991 Dec 9 18:57 Main/TWikiUsers.txt,v
I presume the problem is with that lock. How do I release it?
Environment
--
TWikiGuest - 23 Feb 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Just delete the file.
But it's nothing to do with the lock. And it's nothing to do with file permissions. It's to do with TWiki permissions.
Have you by any chance locked the TWiki web, disallowing view for non-admin users? e.g. with
in TWiki.WebPreferences?
--
CrawfordCurrie - 23 Feb 2006
I did set
AllowWebView but it is set to our group. We can see all the other pages in the TWiki web.
--
TWikiGuest - 24 Feb 2006