hassio-addons/addon-node-red

Add pull request to add home assistant /backup directory to accessible direcories #296

chrisn-au posted onGitHub

Problem/Motivation

Cant access the /backup directory from within node red. Am wanting to automate backups uploads to NAS devices

Expected behavior

Be able to access the direcory

Actual behaviour

Not able to

Steps to reproduce

Use any file node within node red to attempt to access the /backup directory

Proposed changes

Create a pull request to update node-red/config.json file

Update

"map": [ "config:rw", "share:rw", "ssl" ],

to

"map": [ "config:rw", "share:rw", “backup:rw”, "ssl" ],

Is there any reason why this is a bad idea ?


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

posted by addons-assistant[bot] over 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

posted by addons-assistant[bot] over 5 years ago

There is a security complication with this. Accessing backups will allow node-red to access everything...

posted by frenck over 5 years ago

Closing this, since node-red is able to access the Hassio API that can tell you the states of snapshosts/backups.

posted by frenck over 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests