Hi avati,
The fixed-id xlator works as designed.
What I was looking to do was the opposite behavior, where files get their
uids change on their way to the lower volume, rather than as they come out.
I was able to do this with a lower-level storage translator thanks to
Angel's suggestion.
The
Hi August
One direct source to learn what things happen is looking at the same function
on the posix-storage module.
that's how posix-storage process create
...
SET_FS_UID (frame-root-uid, frame-root-gid);
if (!flags) {
_fd = open (real_path,
O_CREAT|O_RDWR|O_EXCL,
Hi glusterfs hackers,
I am trying to write a simple xlator similar to the fixed-id one that comes
with the source code.
The fixed-id xlator passes all calls through to the underlying volume and
then mangles the uid and gid of the stat structures on the way back to the
client, so what you end up