SID-01061: Can't add a New Web: "You must have ROOTCHANGE access".
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
5.8.8 |
| Category: |
CategoryAccessControl |
Server OS: |
CentOS 5.5 |
Last update: |
15 years ago |
Hi. I try to add a new Web.
"You must have ROOTCHANGE access to create a top-level web (one with no parent)"
# grep -r 'Set ALLOWROOTCHANGE = ' /var/www/twiki|grep -v ,v
/var/www/twiki/data/TWiki/TWikiPreferences.txt: * Set ALLOWROOTCHANGE = Main.TWikiAdminGroup
#
My username and
TwikiName are already in /var/www/twiki/data/Main/TWikiAdminGroup.txt. So why can't I create a top level Web and how do I fix this, please?
--
AlekseyTsalolikhin - 2010-12-18
Discussion and Answer
Not sure, that should work. Is your WikiName listed in the Main.TWikiGroups topic? That topics shows the actual users TWiki thinks are in the groups, e.g. you can spot an issue with group settings in group topics.
Also, try to login as "admin" to test if you can create a web.
As a workaround you can manually create a web:
% cd twiki
% cp -pr data/_default data/Foobar
% cp -pr pub/_default pub/Foobar
--
PeterThoeny - 2010-12-19
Dear Peter,
Thanks, your reply sorted me out. I was actually looking at the wrong directory, /var/www/twiki -- I had copied everything to /var/www/twiki5 when I upgraded from 4.x to 5, so I could go back to 4 if I had to. So I should have been looking at /var/www/twiki5.
Now I removed /var/www/twiki so I don't confuse myself again.
Then I added my
WikiName to the
TWikiGroups topic as you suggested, and I'm good to go. Thanks!!
Sincerely,
Aleksey
--
AlekseyTsalolikhin - 2010-12-22
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.