Skip to content

Commit

Permalink
Merge pull request #8671 from romayalon/romy-fix-nc-cli-events
Browse files Browse the repository at this point in the history
NC | Fix for NooBaa CLI not creating events
  • Loading branch information
romayalon authored Jan 9, 2025
2 parents 038ce84 + eaac695 commit cf83c72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/manage_nsfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ let config_fs;

async function main(argv = minimist(process.argv.slice(2))) {
try {
config.EVENT_LOGGING_ENABLED = true;
if (process.getuid() !== 0 || process.getgid() !== 0) {
throw new Error('Root permissions required for Manage NSFS execution.');
}
Expand Down

0 comments on commit cf83c72

Please sign in to comment.