Re: [PATCH] private mounts
From: Miklos Szeredi
Date: Wed Apr 27 2005 - 05:46:27 EST
> > This is the controversial part in all it's glory:
> >
> > if (!(fc->flags & FUSE_ALLOW_OTHER) && current->fsuid != fc->user_id)
> > return -EACCES;
> >
> > Leaving it out would gain us what exactly?
>
> Well, if it brings us ugly semantics, keeping those two lines out for
> a while can help merge a lot...
To the mount owner the semantics are quite normal. Others will be
denied access to the mountpoint, which doesn't introduce any new
semantics either.
If you look at it from the POV of _any_ process, there are NO NEW
SEMANTICS. Nothing that programs, scripts or anything has to be
modified for. Nothing that could cause _any_ problems later, if this
check was removed.
Prove me wrong!
Thanks,
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/