-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
Description
Description of Issue/Question
Earlier installing Jsnapy using PIP , created /etc/jsnapy/samples and /etc/jsnapy/testfiles directories.
Something seems to have changed and this is not reflecting in recent installations.
Setup
(Please provide relevant configs, xml snapshots and related files (Be sure to remove sensitive info).)
root@ubuntu18-04-3:~# uname -a
Linux ubuntu18-04-3 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Steps to Reproduce Issue
(Include debug logs if possible and relevant. Error trace would be helpful too)
Versions Report
(Provided by running jsnapy --version. Please also mention python version.)
root@ubuntu18-04-3:~# jsnapy --version
JSNAPy version: 1.3.5.dev0
root@ubuntu18-04-3:~# cd /etc/jsnapy/
root@ubuntu18-04-3:/etc/jsnapy# ls -lrt
total 8
-rw-r--r-- 1 root root 1695 Apr 16 14:33 logging.yml
-rw-r--r-- 1 root root 381 Apr 16 14:33 jsnapy.cfg
root@ubuntu18-04-3:/etc/jsnapy# whoami
root
root@ubuntu18-04-3:/etc/jsnapy# cat jsnapy.cfg
# This file can be overwritten
# It contains default path for
# config file, snapshots and testfiles
# If required, overwrite the path with your path
#config_file_path: path of main config file
#snapshot_path : path of snapshot file
#test_file_path: path of test file
[DEFAULT]
config_file_path= /etc/jsnapy
snapshot_path = ~/jsnapy/snapshots
test_file_path = ~/jsnapy/testfiles
root@ubuntu18-04-3:/etc/jsnapy# cat ~/jsnapy/snapshots
cat: /root/jsnapy/snapshots: No such file or directory
root@ubuntu18-04-3:/etc/jsnapy# cat ~/jsnapy/testfiles
cat: /root/jsnapy/testfiles: No such file or directory