9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Can't copy create.html into wikifs
@ 2026-02-16  6:00 jrmu
  2026-02-16 12:40 ` hahahahacker2009
  2026-02-16 12:54 ` hahahahacker2009
  0 siblings, 2 replies; 9+ messages in thread
From: jrmu @ 2026-02-16  6:00 UTC (permalink / raw)
  To: 9fans; +Cc: 0intro

Greetings,

I'm attempting to set up wikifs but running into some permissions problems.

First I copy the sample wiki:

mkdir /sys/lib/wiki.plan9
{cd /sys/lib/wiki && tar cp .}|{cd /sys/lib/wiki.plan9 && tar xT}
mkdir -p /usr/web/plan9/wiki/

Then in /cfg/plan9/cpurc, I add these two lines:

wikifs -p 666 -s wiki.plan9 -a tcp!*!wiki /sys/lib/wiki
ip/httpd/httpd -d plan9.host.ircnow.org -n /cfg/plan9/namespace.httpd -w /usr/web/plan9/

Then in /cfg/plan9/namespace.httpd, I add this line:

mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki

I create the directories as needed:

mkdir -p /usr/web/plan9/wiki/

Now the default wiki seems to be lacking create.html, so I downloaded it to
/usr/bootes/create.html and attempt to copy it:

mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
cp /usr/bootes/create.html /usr/web/plan9/wiki/

But I get this error:

cp: can't create /usr/web/plan9/wiki//create.html: '/usr/web/plan9/wiki//create.html' create prohibited

I do not know why because the permissions seem fine:

cpu% cd /usr/web/
cpu% ls -l
d-rwxrwxr-x M 68 bootes sys 0 Feb 14 22:17 plan9
d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:01 sys
cpu% cd plan9
cpu% ls -l
d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:10 sys
d-rwxrwxr-x M 68 bootes sys 0 Feb 15 20:35 wiki

Here are the permissions of /sys/lib/wiki and /sys/lib/wiki.plan9:

d-rwxrwxr-x M 68 sys    sys      0 Feb 15 20:21 /sys/lib/wiki
d-rwxrwxr-x M 68 bootes sys      0 Feb 15 20:21 /sys/lib/wiki.plan9

If you have any ideas, I would be grateful. Thanks in advance for the
help.

-- 
Aaron Lin
jrmu@ircnow.org
IRCNow (https://ircnow.org)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M4347f85880ede1751bd867df
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-16  6:00 [9fans] Can't copy create.html into wikifs jrmu
@ 2026-02-16 12:40 ` hahahahacker2009
  2026-02-16 12:43   ` hahahahacker2009
  2026-02-16 12:54 ` hahahahacker2009
  1 sibling, 1 reply; 9+ messages in thread
From: hahahahacker2009 @ 2026-02-16 12:40 UTC (permalink / raw)
  To: 9fans; +Cc: 0intro

[-- Attachment #1: Type: text/plain, Size: 2126 bytes --]

The directory to create is /usr/web/wiki/plan9, not plan9/wiki

Vào 13:42, T.2, 16 Th2, 2026 jrmu <jrmu@ircnow.org> đã viết:

> Greetings,
> 
> I'm attempting to set up wikifs but running into some permissions problems.
> 
> First I copy the sample wiki:
> 
> mkdir /sys/lib/wiki.plan9
> {cd /sys/lib/wiki && tar cp .}|{cd /sys/lib/wiki.plan9 && tar xT}
> mkdir -p /usr/web/plan9/wiki/
> 
> Then in /cfg/plan9/cpurc, I add these two lines:
> 
> wikifs -p 666 -s wiki.plan9 -a tcp!*!wiki /sys/lib/wiki
> ip/httpd/httpd -d plan9.host.ircnow.org -n /cfg/plan9/namespace.httpd -w
> /usr/web/plan9/
> 
> Then in /cfg/plan9/namespace.httpd, I add this line:
> 
> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
> 
> I create the directories as needed:
> 
> mkdir -p /usr/web/plan9/wiki/
> 
> Now the default wiki seems to be lacking create.html, so I downloaded it to
> /usr/bootes/create.html and attempt to copy it:
> 
> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
> cp /usr/bootes/create.html /usr/web/plan9/wiki/
> 
> But I get this error:
> 
> cp: can't create /usr/web/plan9/wiki//create.html:
> '/usr/web/plan9/wiki//create.html' create prohibited
> 
> I do not know why because the permissions seem fine:
> 
> cpu% cd /usr/web/
> cpu% ls -l
> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 22:17 plan9
> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:01 sys
> cpu% cd plan9
> cpu% ls -l
> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:10 sys
> d-rwxrwxr-x M 68 bootes sys 0 Feb 15 20:35 wiki
> 
> Here are the permissions of /sys/lib/wiki and /sys/lib/wiki.plan9:
> 
> d-rwxrwxr-x M 68 sys    sys      0 Feb 15 20:21 /sys/lib/wiki
> d-rwxrwxr-x M 68 bootes sys      0 Feb 15 20:21 /sys/lib/wiki.plan9
> 
> If you have any ideas, I would be grateful. Thanks in advance for the
> help.
> 
> --
> Aaron Lin
> jrmu@ircnow.org
> IRCNow (https://ircnow.org)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M36081809ba2fa537f34871e6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 3886 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-16 12:40 ` hahahahacker2009
@ 2026-02-16 12:43   ` hahahahacker2009
  2026-02-16 19:34     ` jrmu
  0 siblings, 1 reply; 9+ messages in thread
From: hahahahacker2009 @ 2026-02-16 12:43 UTC (permalink / raw)
  To: 9fans; +Cc: 0intro

[-- Attachment #1: Type: text/plain, Size: 2412 bytes --]

Hmm, I probably haven't read your email carefully, but I got wiki running
with the default config in wikifs man page

Vào 19:40, T.2, 16 Th2, 2026 hahahahacker2009 <hahahahacker2009@gmail.com>
đã viết:

> The directory to create is /usr/web/wiki/plan9, not plan9/wiki
>
> Vào 13:42, T.2, 16 Th2, 2026 jrmu <jrmu@ircnow.org> đã viết:
>
>> Greetings,
>> 
>> I'm attempting to set up wikifs but running into some permissions
>> problems.
>> 
>> First I copy the sample wiki:
>> 
>> mkdir /sys/lib/wiki.plan9
>> {cd /sys/lib/wiki && tar cp .}|{cd /sys/lib/wiki.plan9 && tar xT}
>> mkdir -p /usr/web/plan9/wiki/
>> 
>> Then in /cfg/plan9/cpurc, I add these two lines:
>> 
>> wikifs -p 666 -s wiki.plan9 -a tcp!*!wiki /sys/lib/wiki
>> ip/httpd/httpd -d plan9.host.ircnow.org -n /cfg/plan9/namespace.httpd -w
>> /usr/web/plan9/
>> 
>> Then in /cfg/plan9/namespace.httpd, I add this line:
>> 
>> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
>> 
>> I create the directories as needed:
>> 
>> mkdir -p /usr/web/plan9/wiki/
>> 
>> Now the default wiki seems to be lacking create.html, so I downloaded it
>> to
>> /usr/bootes/create.html and attempt to copy it:
>> 
>> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
>> cp /usr/bootes/create.html /usr/web/plan9/wiki/
>> 
>> But I get this error:
>> 
>> cp: can't create /usr/web/plan9/wiki//create.html:
>> '/usr/web/plan9/wiki//create.html' create prohibited
>> 
>> I do not know why because the permissions seem fine:
>> 
>> cpu% cd /usr/web/
>> cpu% ls -l
>> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 22:17 plan9
>> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:01 sys
>> cpu% cd plan9
>> cpu% ls -l
>> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:10 sys
>> d-rwxrwxr-x M 68 bootes sys 0 Feb 15 20:35 wiki
>> 
>> Here are the permissions of /sys/lib/wiki and /sys/lib/wiki.plan9:
>> 
>> d-rwxrwxr-x M 68 sys    sys      0 Feb 15 20:21 /sys/lib/wiki
>> d-rwxrwxr-x M 68 bootes sys      0 Feb 15 20:21 /sys/lib/wiki.plan9
>> 
>> If you have any ideas, I would be grateful. Thanks in advance for the
>> help.
>> 
>> --
>> Aaron Lin
>> jrmu@ircnow.org
>> IRCNow (https://ircnow.org)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-Me43bdf653e8ac975b6127f4e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4497 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-16  6:00 [9fans] Can't copy create.html into wikifs jrmu
  2026-02-16 12:40 ` hahahahacker2009
@ 2026-02-16 12:54 ` hahahahacker2009
  2026-02-16 16:55   ` hahahahacker2009
  1 sibling, 1 reply; 9+ messages in thread
From: hahahahacker2009 @ 2026-02-16 12:54 UTC (permalink / raw)
  To: 9fans; +Cc: 0intro

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

Ok, figured out. Don't mount #s/wiki.plan9, you are not mean to do that.

Vào 13:42, T.2, 16 Th2, 2026 jrmu <jrmu@ircnow.org> đã viết:

> Greetings,
> 
> I'm attempting to set up wikifs but running into some permissions problems.
> 
> First I copy the sample wiki:
> 
> mkdir /sys/lib/wiki.plan9
> {cd /sys/lib/wiki && tar cp .}|{cd /sys/lib/wiki.plan9 && tar xT}
> mkdir -p /usr/web/plan9/wiki/
> 
> Then in /cfg/plan9/cpurc, I add these two lines:
> 
> wikifs -p 666 -s wiki.plan9 -a tcp!*!wiki /sys/lib/wiki
> ip/httpd/httpd -d plan9.host.ircnow.org -n /cfg/plan9/namespace.httpd -w
> /usr/web/plan9/
> 
> Then in /cfg/plan9/namespace.httpd, I add this line:
> 
> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
> 
> I create the directories as needed:
> 
> mkdir -p /usr/web/plan9/wiki/
> 
> Now the default wiki seems to be lacking create.html, so I downloaded it to
> /usr/bootes/create.html and attempt to copy it:
> 
> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
> cp /usr/bootes/create.html /usr/web/plan9/wiki/
> 
> But I get this error:
> 
> cp: can't create /usr/web/plan9/wiki//create.html:
> '/usr/web/plan9/wiki//create.html' create prohibited
> 
> I do not know why because the permissions seem fine:
> 
> cpu% cd /usr/web/
> cpu% ls -l
> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 22:17 plan9
> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:01 sys
> cpu% cd plan9
> cpu% ls -l
> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:10 sys
> d-rwxrwxr-x M 68 bootes sys 0 Feb 15 20:35 wiki
> 
> Here are the permissions of /sys/lib/wiki and /sys/lib/wiki.plan9:
> 
> d-rwxrwxr-x M 68 sys    sys      0 Feb 15 20:21 /sys/lib/wiki
> d-rwxrwxr-x M 68 bootes sys      0 Feb 15 20:21 /sys/lib/wiki.plan9
> 
> If you have any ideas, I would be grateful. Thanks in advance for the
> help.
> 
> --
> Aaron Lin
> jrmu@ircnow.org
> IRCNow (https://ircnow.org)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M02a9191f7bbdcd0b5e8bcb84
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 3900 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-16 12:54 ` hahahahacker2009
@ 2026-02-16 16:55   ` hahahahacker2009
  2026-02-17  6:41     ` jrmu
  0 siblings, 1 reply; 9+ messages in thread
From: hahahahacker2009 @ 2026-02-16 16:55 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

So, this is what David do on 9p.io (ftpfs 9p.io to see)
create index.html, create.html, about.html in /usr/web/wiki/plan9
httpd will mount #s/wiki.plan9 before /usr/web/wiki/plan9

I guess wikifs' files are virtual, and wikifs is a file server, so it is free to answer whatever it want to your create requests.
Also, look at 9p.io's wiki index too, how is it produced?

By the way, there is an issue in the 9p.io wiki that anyone editing it with acme will notice. I mailed David but haven't got a response. 
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M746667d8b6cbf3a1d3522e30
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1352 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-16 12:43   ` hahahahacker2009
@ 2026-02-16 19:34     ` jrmu
  0 siblings, 0 replies; 9+ messages in thread
From: jrmu @ 2026-02-16 19:34 UTC (permalink / raw)
  To: 9fans; +Cc: 0intro

Greetings,

Were you able to get create.html working so you can create a new page?

The directory I specified was correct for my setup, I wanted to have it
in /usr/web/plan9/wiki not /usr/web/wiki/plan9.

It is also necessary to mount '#s'/wiki.plan9, otherwise the wiki won't
load, so this command should be correct:

mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki

My main problem is why file creation/writing isn't allowed in
/usr/web/plan9/wiki

-- 
Aaron Lin
jrmu@ircnow.org
IRCNow (https://ircnow.org)

On Mon, Feb 16, 2026 at 07:43:37PM +0700, hahahahacker2009 wrote:
> Hmm, I probably haven't read your email carefully, but I got wiki running
> with the default config in wikifs man page
> 
> Vào 19:40, T.2, 16 Th2, 2026 hahahahacker2009 <hahahahacker2009@gmail.com>
> đã viết:
> 
> > The directory to create is /usr/web/wiki/plan9, not plan9/wiki
> >
> > Vào 13:42, T.2, 16 Th2, 2026 jrmu <jrmu@ircnow.org> đã viết:
> >
> >> Greetings,
> >> 
> >> I'm attempting to set up wikifs but running into some permissions
> >> problems.
> >> 
> >> First I copy the sample wiki:
> >> 
> >> mkdir /sys/lib/wiki.plan9
> >> {cd /sys/lib/wiki && tar cp .}|{cd /sys/lib/wiki.plan9 && tar xT}
> >> mkdir -p /usr/web/plan9/wiki/
> >> 
> >> Then in /cfg/plan9/cpurc, I add these two lines:
> >> 
> >> wikifs -p 666 -s wiki.plan9 -a tcp!*!wiki /sys/lib/wiki
> >> ip/httpd/httpd -d plan9.host.ircnow.org -n /cfg/plan9/namespace.httpd -w
> >> /usr/web/plan9/
> >> 
> >> Then in /cfg/plan9/namespace.httpd, I add this line:
> >> 
> >> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
> >> 
> >> I create the directories as needed:
> >> 
> >> mkdir -p /usr/web/plan9/wiki/
> >> 
> >> Now the default wiki seems to be lacking create.html, so I downloaded it
> >> to
> >> /usr/bootes/create.html and attempt to copy it:
> >> 
> >> mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki
> >> cp /usr/bootes/create.html /usr/web/plan9/wiki/
> >> 
> >> But I get this error:
> >> 
> >> cp: can't create /usr/web/plan9/wiki//create.html:
> >> '/usr/web/plan9/wiki//create.html' create prohibited
> >> 
> >> I do not know why because the permissions seem fine:
> >> 
> >> cpu% cd /usr/web/
> >> cpu% ls -l
> >> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 22:17 plan9
> >> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:01 sys
> >> cpu% cd plan9
> >> cpu% ls -l
> >> d-rwxrwxr-x M 68 bootes sys 0 Feb 14 13:10 sys
> >> d-rwxrwxr-x M 68 bootes sys 0 Feb 15 20:35 wiki
> >> 
> >> Here are the permissions of /sys/lib/wiki and /sys/lib/wiki.plan9:
> >> 
> >> d-rwxrwxr-x M 68 sys    sys      0 Feb 15 20:21 /sys/lib/wiki
> >> d-rwxrwxr-x M 68 bootes sys      0 Feb 15 20:21 /sys/lib/wiki.plan9
> >> 
> >> If you have any ideas, I would be grateful. Thanks in advance for the
> >> help.
> >> 
> >> --
> >> Aaron Lin
> >> jrmu@ircnow.org
> >> IRCNow (https://ircnow.org)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M924fa521f842af484dc8ae36
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-16 16:55   ` hahahahacker2009
@ 2026-02-17  6:41     ` jrmu
  2026-02-17  6:52       ` jrmu
       [not found]       ` <befba935f63685b939300f253e3296e7@gmail.com>
  0 siblings, 2 replies; 9+ messages in thread
From: jrmu @ 2026-02-17  6:41 UTC (permalink / raw)
  To: 9fans

Greeetings,

So I followed your advice and added create.html to /usr/web/plan9/wiki before
mounting '#s'/wiki.plan9. However, I wasn't able to actually post anything.
When I attempt to create a new wiki page, I end up with this error message:

Object not found
The object /wiki/plan9/new_wiki_page/index.html does not exist on this server.
errstr: '/usr/web/plan9/wiki/plan9' file does not exist
uri host:
header host: plan9.host.ircnow.org
actual host: plan9.host.ircnow.org

So it seems the write failed.

-- 
Aaron Lin
jrmu@ircnow.org
IRCNow (https://ircnow.org)

On Mon, Feb 16, 2026 at 11:55:47AM -0500, hahahahacker2009 wrote:
> So, this is what David do on 9p.io (ftpfs 9p.io to see)
> create index.html, create.html, about.html in /usr/web/wiki/plan9
> httpd will mount #s/wiki.plan9 before /usr/web/wiki/plan9
> 
> I guess wikifs' files are virtual, and wikifs is a file server, so it is free to answer whatever it want to your create requests.
> Also, look at 9p.io's wiki index too, how is it produced?
> 
> By the way, there is an issue in the 9p.io wiki that anyone editing it with acme will notice. I mailed David but haven't got a response.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M942b9115edebbe6f07944470
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
  2026-02-17  6:41     ` jrmu
@ 2026-02-17  6:52       ` jrmu
       [not found]       ` <befba935f63685b939300f253e3296e7@gmail.com>
  1 sibling, 0 replies; 9+ messages in thread
From: jrmu @ 2026-02-17  6:52 UTC (permalink / raw)
  To: 9fans

Greetings,

Nevermind, I got it to work. The new page is actually created at
wiki/new_wiki_page/index.html.

Thanks for your help.

-- 
Aaron Lin
jrmu@ircnow.org
IRCNow (https://ircnow.org)

On Mon, Feb 16, 2026 at 10:41:46PM -0800, jrmu@ircnow.org wrote:
> Greeetings,
> 
> So I followed your advice and added create.html to /usr/web/plan9/wiki before
> mounting '#s'/wiki.plan9. However, I wasn't able to actually post anything.
> When I attempt to create a new wiki page, I end up with this error message:
> 
> Object not found
> The object /wiki/plan9/new_wiki_page/index.html does not exist on this server.
> errstr: '/usr/web/plan9/wiki/plan9' file does not exist
> uri host:
> header host: plan9.host.ircnow.org
> actual host: plan9.host.ircnow.org
> 
> So it seems the write failed.
> 
> -- 
> Aaron Lin
> jrmu@ircnow.org
> IRCNow (https://ircnow.org)
> 
> On Mon, Feb 16, 2026 at 11:55:47AM -0500, hahahahacker2009 wrote:
> > So, this is what David do on 9p.io (ftpfs 9p.io to see)
> > create index.html, create.html, about.html in /usr/web/wiki/plan9
> > httpd will mount #s/wiki.plan9 before /usr/web/wiki/plan9
> > 
> > I guess wikifs' files are virtual, and wikifs is a file server, so it is free to answer whatever it want to your create requests.
> > Also, look at 9p.io's wiki index too, how is it produced?
> > 
> > By the way, there is an issue in the 9p.io wiki that anyone editing it with acme will notice. I mailed David but haven't got a response.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-M6b9516e5d673130ea60afb15
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Can't copy create.html into wikifs
       [not found]       ` <befba935f63685b939300f253e3296e7@gmail.com>
@ 2026-02-19  2:08         ` jrmu
  0 siblings, 0 replies; 9+ messages in thread
From: jrmu @ 2026-02-19  2:08 UTC (permalink / raw)
  To: hahahahacker2009; +Cc: 9fans

> I don't know how to build a wiki index exactly like the one on 9p.io,
> but you may find this useful...
> 
> {
>       echo Wiki Index
>       echo
>       echo Index of wiki pages:
>       echo
>       sed 's/([0-9]*) (.*)/ * [\2] (\1)/' map | sort
> } >/tmp/windex
> 
> and find out some way to deliver it to your wiki without human intervention.

Thank you, this script worked for me:

{
        echo '<p>Wiki Index</p>'
        echo '<p>Index of wiki pages:</p>'
        sed 's/([0-9]*) (.*)/<br> * \<a href="\2"\>[\2] (\1)\<\/a\>/' /sys/lib/wiki.plan9/d/map | sort
} > /usr/web/plan9/wiki/index.html

-- 
Aaron Lin
jrmu@ircnow.org
IRCNow (https://ircnow.org)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td2b421b98b84ea67-Ma041f14b180f399ad3e61e6d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-19  6:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-16  6:00 [9fans] Can't copy create.html into wikifs jrmu
2026-02-16 12:40 ` hahahahacker2009
2026-02-16 12:43   ` hahahahacker2009
2026-02-16 19:34     ` jrmu
2026-02-16 12:54 ` hahahahacker2009
2026-02-16 16:55   ` hahahahacker2009
2026-02-17  6:41     ` jrmu
2026-02-17  6:52       ` jrmu
     [not found]       ` <befba935f63685b939300f253e3296e7@gmail.com>
2026-02-19  2:08         ` jrmu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).