Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Roy on August 04, 2003, 05:16:51 PM
-
Hi,
I want a directory writable by apache. Standard apache is configured as usr nobody. I think it is the same sith e-smith but the command chown -R nobody.nobody in the directory does not work. i chmodded the directory to 777. it also does not work.
i need it for installing Owl intranet engine. Which need writing right to the Documents folder.
Thanks in advance.
Roy
-
I'm quite sure that the apache user on a SME box is www, and the group is www. Don't quote me on that, but I think it's correct...
-
chown -R www.www does not work :(
I can ad directory's, comments etc etc. But i just cannot upload the files. reading from HD is no problem. But i want my users to upload in the browser interface in stead of FTP acces.
Please who can help.
-
Hi Roy,
This may not be a file/directory ownership issue. I think SME has HTTP file transfers disabled by default. I did some quick searches and I found the following thread that *seems* to apply.
http://forums.contribs.org/index.php?topic=17451.msg67960#msg67960
If this doesn't offer a solution, you might want to do some more searching around. Maybe someone has posted similar questions and has found answers regarding the app you're trying to use.
Dave
-
Isn't the syntax chown www:www not chown www.www ?
-
Also, you may need to adjust the rights for all folders below the defined parent folder. Try the recursive option:
chown -R www:www [directory or file]
-
Thankx
Shame both answers cannot help me. I tried the other syntax with : instead of . doesn't work for me.
stil get this message
The 'Temp file Directory Location' is not Writable by the WEB Server!
/home/e-smith/files/ibays/owl/html/intranet/Documents
I still think the webserver is not user nobody or www
Unfortunately i cannot find any info about Owl intranet engine working on E-smith server.
i keep on trying
-
chown -R www:www .
I tried the above couse this works with the program gallery
http://www.familybrown.org/howtos/gallery-howto-sme55.html
Here it works perfectly :(
gonna keep on looking..
-
Sounds like an Owl configuration problem ... where does it think it should be writing its temp files?
-
At the documents folder. I get the messages cannot write to the documents folder? but that is the folder which is world writeable an webserver writeable.
The server can write to that directory couse i can make folders.
-
Been trying to get this working too.
I *THINK* as Michael Smith suggested the problem isn't with permissions to the ibay, but where the temp files are being written prior to being moved to the subdirectory in the ibay.
If you use the server-manager log viewer for messages take a look at the errors.
I'm guessing this has to do with the way SME is setup to secure php. Basically as it stands, this is limited to a particular path (or paths). I'm not sure exactly what to change this to & where to do this.
Try a few searches on the topic "open_base" on these forums. I'm pretty sure this is the issue. Aside from changing the allowed path to "/" I'm not sure how to solve this problem.
-
Sorry,
Almost forgot. As a side note, chown www:www is correct.
try doing a ps -aux | more from the shell. Page through & you'll see a whole bunch of instances of httpd running as user www.
Hope this helps.
-
Try looking here:
http://sourceforge.net/forum/forum.php?thread_id=867382&forum_id=29448
Will end up testing this later today/tonight to see if this works.
-
Thanks.
Got now a standard debian distro. Works perfectly!!