gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] 答复: how to use libgfap i with non-root user


From: Brad Childs
Subject: Re: [Gluster-devel] 答复: how to use libgfap i with non-root user
Date: Tue, 25 Feb 2014 15:13:13 -0500 (EST)

As a follow on questions - will libgfapi allow/deny file access based on 
owner/group/mode of a file against the user accessing libgfapi?


-bc


----- Original Message -----
> From: "Gong XiaoHui" <address@hidden>
> To: "Niels de Vos" <address@hidden>, "Vijay Bellur" <address@hidden>
> Cc: address@hidden
> Sent: Thursday, February 20, 2014 6:39:56 PM
> Subject: [Gluster-devel] 答复:  how to use libgfapi with non-root user
> 
> Thanks,I stop and start the volume, it works ok.
> The right step is:
> 1. add ” option rpc-auth-allow-insecure on” to *.vol file
> 2. set <volname> server.allow-insecure on
> 3. stop and start the volume
> 
> -----邮件原件-----
> 发件人: Niels de Vos [mailto:address@hidden
> 发送时间: 2014年2月21日 1:05
> 收件人: Vijay Bellur
> 抄送: Gong XiaoHui; address@hidden
> 主题: Re: [Gluster-devel] how to use libgfapi with non-root user
> 
> On Thu, Feb 20, 2014 at 09:35:00PM +0530, Vijay Bellur wrote:
> > On 02/20/2014 02:33 PM, Gong XiaoHui wrote:
> > >Hi,
> > >
> > >    This is a programmer from china, now I have a problem with
> > >libgfapi(V3.4.2). My application run as non-root user uses a api called
> > >glfs_init, but it return -1.
> > >
> > > From the internet I find a solution, add” option
> > >rpc-auth-allow-insecure on” into the vol file on my gluster system, then
> > >the glfs_init return 1, it does’t work ok either.
> > >
> > >I need some help to resolve this problem, expect your reply. Thank you
> > >very much.
> > >
> > 
> > Have you tried this?
> > 
> > gluster volume set <volname> server.allow-insecure on
> > 
> > This would also be needed in addition to editing glusterd's volume file.
> 
> In case this is not working yet, you should probably stop and start the
> volume where you changed the server.allow-insecure setting.
> 
> HTH,
> Niels
> 
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]