 |
03-06-2006, 11:21 AM
|
#1 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
cPanel + wiki
Not sure if this is the right forum. I'm currently transferring my website from my home pc through DynDNS to a real host, D7Host.
On my site, I have basically 3 sections:
-a plain jane one
-a blog (DotClear engine)
-a wiki (MoniWiki engine)
I was able to transfer the content of the wiki, which is filebased by the way, doesn't use MySQL. My problem is that I cannot edit any problably dur to a ownership issue. Any ideas on how to resolve this?
The support for MoniWiki is not very good. only a few pages are in English, the rest in Korean.
|
|
|
03-06-2006, 11:57 AM
|
#2 (permalink)
|
|
Individualist
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,521
|
No idea.
Could it be a permissions thing?
|
|
|
03-06-2006, 12:02 PM
|
#3 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
I checked the permissions, they line up with what I have currently on my current host. I'll try starting from scratch and do a restore. cPanel is nice but I sure miss the power of a good old command line interface.
|
|
|
03-08-2006, 06:39 PM
|
#4 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: Virginia
Posts: 2,021
Latest Blog: None
|
Are these php based scripts or cgi based?
|
|
|
03-08-2006, 06:52 PM
|
#5 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
php
|
|
|
03-09-2006, 06:12 AM
|
#6 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
I figured I should to create a new page. Then it would be owned by the software.
I was able to create it, kind of.
The page was create, with owner 99 (the others have 32022), but I cannot access it, I get errors.
----------------------
Edit:
Looking at the error message I had received, I changed the permissions to another folder, the page now appears correctly and is editable through the wiki.
I think the best way would be to reinstall the wiki from scratch but I'm not sure I can through cPanel.
|
|
|
03-09-2006, 06:17 AM
|
#7 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
Of course, I can edit them if I make all the files writable to all (chmod 666). Let's see how that goes.
|
|
|
03-09-2006, 06:38 AM
|
#8 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: Virginia
Posts: 2,021
Latest Blog: None
|
As described in the other thread user 99 is the "nobody" user. Any file created by a php script unless the host is running phpsuexec will be owned by the nobody user.
|
|
|
03-09-2006, 07:31 AM
|
#9 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
Is there a way to have the files owner changed so it works properly? I'm not a big fan of having files in full write access...
|
|
|
03-09-2006, 04:28 PM
|
#10 (permalink)
|
|
v7n Mentor
Join Date: 10-13-03
Location: Virginia
Posts: 2,021
Latest Blog: None
|
Someone whom has root access to the server can change the owner of the files. Of course the next time that file is attempted to be changed by the script it will fail due to incorrect ownership permissions. Plus new files written by the script will still have the owner 99 (nobody).
To have files created/edited by the scripts owned by the account in which the files are written will require the server to enable phpsuexec but this can break other scripts and is something not easily done due to that on a shared hosting server.
|
|
|
03-10-2006, 05:20 AM
|
#11 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
ok thanks freek
|
|
|
03-10-2006, 09:29 AM
|
#12 (permalink)
|
|
Potato Monster
Join Date: 03-26-04
Location: Chester, England
Posts: 3,874
|
It is most likely permissions, do you have shell access?
__________________
I have become death, destroyer of worlds.
|
|
|
03-10-2006, 09:38 AM
|
#13 (permalink)
|
|
v7n Mentor
Join Date: 01-12-04
Location: Gatineau, QC, Canada
Posts: 6,219
|
I changed the permissions. I figured giving full write access or basically to "www" is the same thing. :-)
I consider the issue resolved. Thank you folks.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 11:04 AM.
© Copyright 2008 V7 Inc
|
|