Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat
Web server: Apache
Perl version: 5.6.1
Client OS: Mac OS X, but happens on all
Web Browser: Firefox, but happens on all
Categories: Permissions, Registration, Authentication, Authorisation

-- TWikiGuest - 23 Feb 2006

Answer

ALERT! 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

  • Set ALLOWWEBVIEW =
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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-04-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.