Skip to content

Commit b2750c4

Browse files
committed
Removing root check for manage_nsfs
Check of allowed running users will be in scale CLIs Signed-off-by: jackyalbo <jacky.albo@gmail.com>
1 parent ed6b491 commit b2750c4

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)