Commit f26a6591 authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix blockchain dir ownership for symlink creation

When hive cache contains rocksdb in blockchain/ but no block_log files,
the cp command copies the directory with root ownership. Later, trying
to create block_log symlinks as user 'hived' fails with permission denied.

Add chown/chmod to fix ownership before creating symlinks.
parent 11a1a1a6
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment