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.
Loading
Please sign in to comment