Skip to content

Make script_base_path configurable for allow run script in user space (from home folder) #128

@MurzNN

Description

@MurzNN

I searching backup script that can be downloaded and run in user space (as regular user in home folder on any Linux system). Seems glsysbackup is good solution with option:

root_privileges_required="0"

But the problem is that script_base_path, lock and log folders are hard-coded:

        script_base_path="/usr/local/${script_name}"
        script_bin_directory="${script_base_path}/bin"
        script_lock_directory="${script_base_path}/var/lock"
        script_log_directory="${script_base_path}/var/log"

Can you please make them configurable via config file? Also can you please describe, which other potential problems can be happens when using your script in user space?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions