[Gluster-devel] Re: Mount options uid=, gid=

Anand Avati avati at zresearch.com
Tue May 1 10:19:35 UTC 2007


> Erik,
>   the fixed-uid/gid feature is currently not there in glusterfs. this
> will come as a translator if at all in the future. 

which is not far away, i just committed features/fixed-id xlator to
the tla. realized it was so simple that it was just a couple of minutes
of coding. load it in your graph and give it options like "option
fixed-uid 1000" "option fixed-gid 100". if someobody has a requirement
and requests i could add pattern matching on the filename to which
specific uid/gid can be fixed in the future.

avati

> are you in need of this feature?
> 
> avati
> 
> On Mon, Apr 30, 2007 at 06:29:27PM -0700, Erik Osterman wrote:
> > Erik Osterman wrote:
> > >Is it possible to pass options that cause all files to be 
> > >owner/created/etc... by a certain uid or gid?
> > >
> > host.com:6996   /gfs/host.com   glusterfs
> > rw,allow_other,default_permissions,max_read=1048576,uid=500,gid=500 0 0
> > 
> > 
> > did not work for me....
> > 
> > 
> > 
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> > 
> 
> -- 
> ultimate_answer_t
> deep_thought (void)
> { 
>   sleep (years2secs (7500000)); 
>   return 42;
> }
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
> 

-- 
ultimate_answer_t
deep_thought (void)
{ 
  sleep (years2secs (7500000)); 
  return 42;
}





More information about the Gluster-devel mailing list