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

Home » FUDforum » FUDforum Installation Issues » Perms for mailing list <-> fudforum
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Perms for mailing list <-> fudforum [message #7391] Thu, 21 November 2002 05:37 Go to next message
mikey is currently offline  mikey   United States
Messages: 5
Registered: November 2002
Karma: 0
Junior Member
I noticed that the forum files have to be unlocked to use the mailing list gateway feature. I would much rather not leave the entire site unlocked. Can someone tell me what perms to set after locking the system to still allow the mailing list gateway to function?
Re: Perms for mailing list <-> fudforum [message #7398 is a reply to message #7391] Thu, 21 November 2002 14:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Well, in all actually there are just 3 things that need to be 'unlocked'.
1) The msg file, where the message bodies are stored
2) The import script itself, needs to be word readable & executable as all the includes it uses need to be world readable (a fairly large number of them).
3) The directory where file attachments are stored.


FUDforum Core Developer
Re: Perms for mailing list <-> fudforum [message #7643 is a reply to message #7398] Fri, 06 December 2002 22:18 Go to previous messageGo to next message
mikey is currently offline  mikey   United States
Messages: 5
Registered: November 2002
Karma: 0
Junior Member
prottoss wrote on Thu, 21 November 2002

1) The msg file, where the message bodies are stored



Is there just one message file maintained in $MSG_STORE_DIR? I see two files in there, msg_1 and private.

prottoss wrote on Thu, 21 November 2002


2) The import script itself, needs to be word readable & executable as all the includes it uses need to be world readable (a fairly large number of them).



I don't suppose someone else has already attempted this and has a list of those includes handy, eh?

Is this is all that is required to be unlocked for sendmail to pipe the messages in?
Re: Perms for mailing list <-> fudforum [message #7644 is a reply to message #7643] Fri, 06 December 2002 22:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The 'private' file is for storing private messages, so for your purposes it is irrelevant.
Well, you can get this list very easily, simply add var_dump(get_included_files()); at the bottom of the script, it'll show you the list of all the files used by the import script. Then it is just a simple matter of making those files accessible and making the msg_1 writeable.


FUDforum Core Developer
Re: Perms for mailing list <-> fudforum [message #7645 is a reply to message #7644] Fri, 06 December 2002 22:37 Go to previous messageGo to next message
mikey is currently offline  mikey   United States
Messages: 5
Registered: November 2002
Karma: 0
Junior Member
I got it working - just chown root:root chmod 444 all of the includes and GLOBALS.php.

Next question Smile Heh heh.

Where should I look in the code to modify the "lock/unlock" feature to lock everything but minimal settings for mailing list gateway? Can you point me in the right direction?
Re: Perms for mailing list <-> fudforum [message #7646 is a reply to message #7645] Fri, 06 December 2002 22:45 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
admlock control panel source code Wink

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: connect to db access denied
Next Topic: HELP!!!
Goto Forum:
  

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

Current Time: Sun Nov 24 11:49:54 GMT 2024

Total time taken to generate the page: 0.02151 seconds