Fix permissions on folders
Description
The ./artifacts/configs folder is created with the permissions 0600 when executing gosdn. This is unusual because it allows reading and writing into a folder by the owner but doesn't allow the owner to actually traverse or view the contents of this folder.
Expected Behavior
User can enter ./artifacts/configs and do 'ls -alh ./artifacts/configs' and get the contents of the folder.
Actual Behavior
The folder can't be traversed and 'ls -alh ./artifacts/configs' yields questionmarks.
Possible Fix
The function in question is 'ensureFileSystemPathExists()' in 'controller/cmd/root.go'. The MkdirAll() call should receive '0700' and not '0600'.
Steps to Reproduce
- Make sure ./artifacts/configs folder doesn't exist.
- Execute ./artifacts/gosdn (no parameter)
- Observe that ./artifacts/configs was created
- Execute 'ls -alh ./artifacts/configs' and take note of output