Skip to content

Commit a293513

Browse files
authored
Merge pull request #9280 from jackyalbo/jacky-nc-fixes3
NC | Removing root check for manage_nsfs
2 parents ed6b491 + b2750c4 commit a293513

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cmd/manage_nsfs.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ let config_fs;
5151
async function main(argv = minimist(process.argv.slice(2))) {
5252
try {
5353
config.EVENT_LOGGING_ENABLED = true;
54-
if (process.getuid() !== 0 || process.getgid() !== 0) {
55-
throw new Error('Root permissions required for Manage NSFS execution.');
56-
}
5754
const type = argv._[0] || '';
5855
const action = argv._[1] || '';
5956
if (argv.help || argv.h) {

0 commit comments

Comments
 (0)