From: Andrew McNab Date: Mon, 26 Jun 2006 13:03:30 +0000 (+0000) Subject: Sync X-Git-Tag: gridsite-core_R_1_3_2~81 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=6d73162611436bdaba7fd0c51d1e1b2588c162bd;p=jra1mw.git Sync --- diff --git a/org.gridsite.core/src/slashgrid.c b/org.gridsite.core/src/slashgrid.c index 6395a9d..de86328 100644 --- a/org.gridsite.core/src/slashgrid.c +++ b/org.gridsite.core/src/slashgrid.c @@ -1041,6 +1041,16 @@ GRSTgaclPerm get_gaclPerm(struct fuse_context *fuse_ctx, char *path) // eventually want a UID cache here... +/* +// want root to be able to read anything, and to write to anything under +// local_root - need to test if talking about a symbolic link?? + if (fuse_ctx->uid == 0) + { + if (debugmode) syslog(LOG_DEBUG, + "get_gaclPerm returns perm=%d for root user", GRST_PERM_ALL); + return GRST_PERM_ALL; + } +*/ dn = mapdir_uid_to_dn(fuse_ctx->uid); if (dn != NULL)