From 6d73162611436bdaba7fd0c51d1e1b2588c162bd Mon Sep 17 00:00:00 2001 From: Andrew McNab Date: Mon, 26 Jun 2006 13:03:30 +0000 Subject: [PATCH] Sync --- org.gridsite.core/src/slashgrid.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- 1.8.2.3