FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Installation Permissions Problems...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon9.gif  Installation Permissions Problems... [message #9186] Sat, 15 March 2003 02:00 Go to previous message
forrie is currently offline  forrie   United States
Messages: 47
Registered: August 2002
Location: Derry, NH
Karma:
Member
I've run into a few issues with the FudForum installation, where the permissions are not being set properly. For one, to facilitate file/attachment upload. Second, many files are installed as rw-rw-rw- which is, of course, bad.

Has anyone noted the same issues - at least, how to fix the file attachment problem(s).

Specifically, I seem to be able to upload a file, but when I go to "create topic" I get these errors:


Warning: fopen(/usr/local/apache/htdocs/forum/messages/msg_1) [function.fopen]: failed to create stream: Permission denied in /usr/local/apache/htdocs/fud/theme/default/post.php on line 3548

Warning: flock(): supplied argument is not a valid stream resource in /usr/local/apache/htdocs/fud/theme/default/post.php on line 3549

Warning: ftell(): supplied argument is not a valid stream resource in /usr/local/apache/htdocs/fud/theme/default/post.php on line 3550

Warning: fstat(): supplied argument is not a valid stream resource in /usr/local/apache/htdocs/forum/include/core.inc on line 132

Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/apache/htdocs/fud/theme/default/post.php on line 3556

Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/apache/htdocs/fud/theme/default/post.php on line 3557

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/fud/theme/default/post.php:3548) in /usr/local/apache/htdocs/fud/theme/default/post.php on line 3647

But the file does seem to get uploaded anyways.

The permissions on the directory are:

/usr/local/apache/htdocs/forum/messages
bash-2.05b# ls -al
total 4
drwxrwxrwx 2 nobody nobody 512 Mar 14 00:52 .
drwxr-xr-x 12 nobody nobody 512 Mar 14 00:14 ..
-rw-r--r-- 1 root nobody 1506 Mar 14 00:52 msg_1

This should NOT be installed as world-writable. However, the problem seems related to the fact that root owns "msg_1" but the server id is "nobody" ?

Any help would be appreciated.

Thanks.

[Updated on: Sat, 15 March 2003 03:03]

Report message to a moderator

[Message index]
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can my board be reactivated?
Next Topic: Permission denied to GLOBALS
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 15:56:25 GMT 2024

Total time taken to generate the page: 0.19922 seconds