| View previous topic :: View next topic |
| Author |
Message |
daffy7 Voice
Joined: 22 Aug 2005 Posts: 5
|
Posted: Thu Sep 01, 2005 3:07 am Post subject: Serious help needed... |
|
|
Whenever i try to re-load an eggdrop bot thru the shell.
It gives me a reply
* CAN'T WRITE TO TEMP DIR
I know it's something related to the file permissions. Can someone help with with this? Thank you in advance. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Sep 01, 2005 3:11 am Post subject: |
|
|
| Code: |
# Set here a place to store temporary files.
set temp-path "/tmp"
|
|
|
| Back to top |
|
 |
daffy7 Voice
Joined: 22 Aug 2005 Posts: 5
|
Posted: Thu Sep 01, 2005 3:34 am Post subject: |
|
|
| previously i can load from shell. but however when i change the file permissions, chmod. i'm unable to load from the shell again. i need advises on how to change it back. thank you |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Sep 01, 2005 3:49 am Post subject: |
|
|
demond told you what to change. Just create a tmp/ dir then change temp-path to "tmp/" _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
daffy7 Voice
Joined: 22 Aug 2005 Posts: 5
|
Posted: Thu Sep 01, 2005 4:06 am Post subject: |
|
|
alright i created a folder tmp and it doesnt work.  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Sep 01, 2005 4:23 am Post subject: |
|
|
actually, you don't have to create /tmp, it's already created (owned by root), and any shell user should have write permissions to it; if you can't create files in /tmp, talk to your admin and have them fix the problem
alternatively, you can create your own temp directory in your home directory and point temp-path to it |
|
| Back to top |
|
 |
daffy7 Voice
Joined: 22 Aug 2005 Posts: 5
|
Posted: Thu Sep 01, 2005 4:30 am Post subject: |
|
|
now it works i changed the file permission. i'm the root, u see.
Thanks alot demond |
|
| Back to top |
|
 |
|