#592827 ikiwiki: generates an executable in the user directory that makes it hard to share the users home

Package:
ikiwiki
Source:
ikiwiki
Submitter:
Rogério Brito
Date:
2024-03-21 14:09:12 UTC
Severity:
normal
Tags:
#592827#5
Date:
2010-08-13 03:15:33 UTC
From:
To:
Hi, Joey.

I am just experimenting with ikiwiki and I think that it is really good,
but I have one problem with it: it generates a ikiwiki.cgi file which is
a binary tied to the arch where I am editing the page.

I was bitten by that because I use NFS to share my home directory among
computers that have different platforms. I have not seen any mention on
this fact in the documentation, but I may have missed it.

It would be good if ikiwiki could use a script (perhaps just a wrapper
script) to put in the user's directory (actually, the place where the
wiki is) or, if that is too much of trouble, if you could put a very
visible warning regarding that.


Thanks,

#592827#10
Date:
2010-08-30 17:51:47 UTC
From:
To:
Rogério Brito wrote:

It is not possible to use a scrpt for this. Unix does not allow setuid
scripts, and the point of the wrapper is to ensure that ikiwiki runs
as the owner of the wiki when called by eg, the web browser.

#592827#15
Date:
2010-08-31 03:16:29 UTC
From:
To:
Hi, Joey.

Yes, I know about the problems with setuid scripts and security issues.
Would it be possible to write a perl script, in this case, as Perl has
some support for setuid scripts?

Right. It would just be nice if this worked out of the box, for people
that don't have the rights to deal with stuff outside their home (think
a University).


Regards,

#592827#20
Date:
2010-08-31 15:18:13 UTC
From:
To:
Rogério Brito wrote:

It would be, except that support has been deprecated for something like
a decade, and I just heard (again) that it will shortly be removed.