Skip to content

Commit 1445cb9

Browse files
Removing allow root from non root user.
1 parent ab02f8a commit 1445cb9

File tree

1 file changed

+2
-3
lines changed
  • pCloudCC/lib/pclsync

1 file changed

+2
-3
lines changed

pCloudCC/lib/pclsync/pfs.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3133,11 +3133,10 @@ static int psync_fs_do_start(){
31333133
fuse_opt_add_arg(&args, "-ofsname="DEFAULT_FUSE_MOUNT_POINT".fs");
31343134
fuse_opt_add_arg(&args, "-ononempty");
31353135
if (psync_user_is_admin()) {
3136-
//fuse_opt_add_arg(&args, "-oallow_root");
31373136
fuse_opt_add_arg(&args, "-oallow_other");
31383137
}
3139-
else
3140-
fuse_opt_add_arg(&args, "-oallow_root");
3138+
// else
3139+
// fuse_opt_add_arg(&args, "-oallow_root");
31413140
#endif
31423141
#if defined(P_OS_MACOSX)
31433142
fuse_opt_add_arg(&args, "argv");

0 commit comments

Comments
 (0)