|
|
| Author |
Message |
StarLog Cacti User
Joined: 02 Jun 2007 Posts: 128
|
Posted: Thu Jun 21, 2007 2:46 pm Post subject: failed to open stream |
|
|
I have just started to use weathermap, and while testing with the example.cfg I clicked the Node 1 to change the label to Switch-1.
This is the error I get:
Warning: fopen(configs/simple.conf) [function.fopen]: failed to open stream: Permission denied in /www/htdocs/plugins/weathermap/Weathermap.class.php on line 4405
I have changed the ownership to daemon, and still no joy.
How do I fix this.? Thanks
 |
|
| Back to top |
|
 |
StarLog Cacti User
Joined: 02 Jun 2007 Posts: 128
|
Posted: Fri Jun 22, 2007 1:46 pm Post subject: |
|
|
| Fixed the permissions, and now it works. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1966 Location: United Kingdom
|
Posted: Sun Jun 24, 2007 7:42 am Post subject: |
|
|
| I've added a note in the file-selector for the next release that says "read-only" next to files that you won't be able to edit. |
|
| Back to top |
|
 |
StarLog Cacti User
Joined: 02 Jun 2007 Posts: 128
|
Posted: Mon Jun 25, 2007 5:19 pm Post subject: |
|
|
Howie,
I found that if I created a NEW map with the editor, then I was the owner, and had to make no changes to the permission. At that point, I was able to edit and create the new map as i wished. Adding the note is a good idea.
Thanks |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1966 Location: United Kingdom
|
Posted: Mon Jun 25, 2007 5:24 pm Post subject: |
|
|
| StarLog wrote: | Howie,
I found that if I created a NEW map with the editor, then I was the owner, and had to make no changes to the permission. At that point, I was able to edit and create the new map as i wished. Adding the note is a good idea.
Thanks |
Yes, that would be true - those files were created by the same unix user that would be writing over them later. Unfortunately, there isn't really any clever way around this permissions stuff - it's just a side-effect of the way the two parts of weathermap are run (the editor and the poller). |
|
| Back to top |
|
 |
|