<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8885" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-12-27T14:18:58-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8885</id>

		<entry>
		<author><name><![CDATA[Jay]]></name></author>
		<updated>2004-12-27T14:18:58-04:00</updated>

		<published>2004-12-27T14:18:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44579#p44579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44579#p44579"/>
		<title type="html"><![CDATA[userfile permissions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44579#p44579"><![CDATA[
must overlooked it, I'm sorry .<br><br>tnx for your answer<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4709">Jay</a> — Mon Dec 27, 2004 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-27T10:38:14-04:00</updated>

		<published>2004-12-27T10:38:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44571#p44571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44571#p44571"/>
		<title type="html"><![CDATA[userfile permissions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44571#p44571"><![CDATA[
from default eggdrop.conf:<blockquote class="uncited"><div># This specifies what permissions the user, channel, and notes files should<br># be set to. The octal values are the same as for the chmod system command.<br>#<br># To remind you:<br>#<br>#          u  g  o           u  g  o           u  g  o<br>#    0600  rw-------   0400  r--------   0200  -w-------    u - user<br>#    0660  rw-rw----   0440  r--r-----   0220  -w--w----    g - group<br>#    0666  rw-rw-rw-   0444  r--r--r--   0222  -w--w--w-    o - others<br>#<br># Note that the default 0600 is the most secure one and should only be changed<br># if you need your files for shell scripting or other external applications.<br>set userfile-perm 0600</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 27, 2004 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2004-12-27T07:01:28-04:00</updated>

		<published>2004-12-27T07:01:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44563#p44563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44563#p44563"/>
		<title type="html"><![CDATA[userfile permissions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44563#p44563"><![CDATA[
<blockquote class="uncited"><div>because php (Apache) isn't the owner of the file, so chmodding it before accessing the file isn't possible. Tryed that one before I posted my question <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> thanks.</div></blockquote>How about running a small script on your bot on a timer to chmod its userfile every minute or half hour depending on how often your userfile is used?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Mon Dec 27, 2004 7:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jay]]></name></author>
		<updated>2004-12-27T06:51:16-04:00</updated>

		<published>2004-12-27T06:51:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44562#p44562</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44562#p44562"/>
		<title type="html"><![CDATA[userfile permissions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44562#p44562"><![CDATA[
because php (Apache) isn't the owner of the file, so chmodding it before accessing the file isn't possible. Tryed that one before I posted my question <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4709">Jay</a> — Mon Dec 27, 2004 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2004-12-27T06:45:14-04:00</updated>

		<published>2004-12-27T06:45:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44561#p44561</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44561#p44561"/>
		<title type="html"><![CDATA[userfile permissions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44561#p44561"><![CDATA[
How about chmodding it before you access it each time in PHP?<br><div class="codebox"><p>Code: </p><pre><code>function chmodfile( $strFile ){    chmod("$strFile", 0755);}</code></pre></div>Just call that function each time before you access the userfile<br><br>Jon.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Mon Dec 27, 2004 6:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jay]]></name></author>
		<updated>2004-12-27T06:00:51-04:00</updated>

		<published>2004-12-27T06:00:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44559#p44559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44559#p44559"/>
		<title type="html"><![CDATA[userfile permissions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44559#p44559"><![CDATA[
hey,<br><br>as I'm looking trough the .c code in the src directory I can't find why the eggdrop changes the permissions of the .user file after altering it. <br><br>I'm trying to read the userfile trough a php script, offcorse it there are only user permissions , apache can't read it. chmodding it won't help cause it keeps changing the permission after writing to it.<br><br>any suggestions to  make it so that I can read it.<br><br>tnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4709">Jay</a> — Mon Dec 27, 2004 6:00 am</p><hr />
]]></content>
	</entry>
	</feed>
