pvizeli / securetar

Secure Tarfile library
Apache License 2.0
6 stars 2 forks source link

Feature request: handle symlinked files & folders #40

Closed syphernl closed 7 months ago

syphernl commented 7 months ago

It seems that if a folder to be packed up contains a symlink (either file or folder), it is added as such. Is there a way to have it include the actual file/folder instead?

Context

Restoring a HASS backup to a fresh installation broke that installation since the backup contained symlinks of folders and files including configuration.yaml causing HASS to not start anymore.

agners commented 7 months ago

So you would like that the backup resolves the symlinks, and actually stores the actual file/directory?

I think not all users might be happy with this, some might want to use symlinks within the config folder, or manage the configuration or part of it externally.

syphernl commented 7 months ago

It could always be made optional and turned off by-default.

pvizeli commented 7 months ago

Feature request of HA please into HA channels