| View previous topic :: View next topic |
| Author |
Message |
Cr4sh Halfop

Joined: 14 Jan 2006 Posts: 63
|
Posted: Sun Dec 26, 2010 3:25 pm Post subject: Privilege problems [solved] |
|
|
I'm using an eggdrop installed on gentoo in a root sub-folder (/opt/eggdrop).
When i use it as user, cannot write any file (channel, temp, pid.file).
I can't change the permission of the folder.
What can i do?
Last edited by Cr4sh on Mon Dec 27, 2010 5:11 am; edited 1 time in total |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Sun Dec 26, 2010 5:34 pm Post subject: |
|
|
Change the paths of those options in the config file to point to an eggdrop directory in your home folder. That's how I used to fix it with my Ubuntu system after I installed the eggdrop package from the repository.
The trick is to cd to the folder and then type eggdrop eggdrop.conf or use the full path to the config file like eggdrop /home/you/eggdrop/eggdrop.conf _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
Cr4sh Halfop

Joined: 14 Jan 2006 Posts: 63
|
Posted: Sun Dec 26, 2010 5:49 pm Post subject: |
|
|
I've already created in "myhome" a folder eggdrop with tmp var and logs subfolder inside, but don't work in any case.
| Code: | [22:56] Couldn't create channel file: /home/cr4sh/eggdrop/eggdrop.chan. Dropping
[22:56] === eppool: 1 channels, 0 users.
* Warning! Could not write /home/cr4sh/eggdrop/pid.eppool file!
|
|
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Sun Dec 26, 2010 11:48 pm Post subject: |
|
|
Have you tried changing the permission of the folder and underlying folder and files to 777?
Try chmod -R 777 /home/cr4sh/eggdrop/
Also, after going through my old conf I noticed a few things, namely the paths I used for some options: | Code: | set userfile "Eggor.user"
set pidfile "pid.Eggor"
set userfile-perm 0600
set help-path "/usr/share/eggdrop/help/"
set text-path "/usr/share/eggdrop/text/"
set mod-path "/usr/lib/eggdrop/modules/"
set temp-path "tmp/"
set motd "/usr/share/eggdrop/text/motd"
set telnet-banner "/usr/share/eggdrop/text/banner"
set chanfile "Eggor.chan"
set files-path "/usr/share/eggdrop/filesys"
set incoming-path "/usr/share/eggdrop/filesys/incoming"
set notefile "Eggor.notes"
source /usr/share/eggdrop/scripts/alltools.tcl
source /usr/share/eggdrop/scripts/action.fix.tcl
source /usr/share/eggdrop/scripts/compat.tcl
source /usr/share/eggdrop/scripts/userinfo.tcl
#source scripts/chanstats.1.3.0.tcl
loadhelp userinfo.help | As you can see, I actually used the files provided by the eggdrop package, but only created an eggdrop and scripts folder with the right permissions. Maybe you can do the same (the path to the 'shared' files might be different though).
Mind you, doing it this way actually required me to cd into that eggdrop folder and type eggdrop eggdrop.conf though, but otherwise it worked well. _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
Cr4sh Halfop

Joined: 14 Jan 2006 Posts: 63
|
Posted: Mon Dec 27, 2010 5:10 am Post subject: |
|
|
Seems works.
Thanks.  |
|
| Back to top |
|
 |
|