-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to configure with non root user #314
Comments
Actually I didn't understand ur issue completely. If you are disperse/replicated(not jbr) volume the directory created from client side, it should perform parallelly on all the servers. can share the volume info of ur volumes. |
we want nginx permission everywhere on client side as well as server side. suppose at client side our directory data is created and given permission of nginx user then mount that directory with server, so when new files are added at client side data directory which is with permission of nginx user, thanks |
also just i want to know how can i mount my client side data directory with nginx user?? using sudo -u nginx mount xxxx... |
Volume Name: test above is my volume info, |
IMO following should work, at client sidemount the volume using root. make sure uid of nginx is same across clients/servers at server sidecheck whether owner/group of brick path changed accordingly Then from client side if u create file using nginx user then mount point then it will owner will nginx only |
ok permission issue is seems because of different UID and GID, but how can i check>> Check at the backend directly(do ls on brick path) and also want to know how can i mount using nginx user ?? Currently it looks like limitation with gluster, do u really need it?Jiffin |
Currently it looks like limitation with gluster, do u really need it? if possible then need, |
I have open upstream bug for this issue(cloned from RHGS). Hence closing this issue |
Sorry the bug is not valid in glusterfs(seen only in RHGS). On a server: gluster volume set $VOLUME allow-insecure on On the client as root: echo user_allow_other >> /etc/fuse.conf To mount the volume, you can: /usr/sbin/glusterfs --log-level=INFO --log-file=my_user_accessable_logfile.log --volfile-id=$VOLUME --volfile-server=$SERVER $MOUNTPOINT or use sudo mount command |
hello,
i am able to configure glusterfs with root user and all things are working fine.
but there is issue which i need to solve:
at client side i have one directory which having permission of non root user and which files add on that folder is also came with same non root user.
so after replication on server side file permission is changed with non root to 1001 like that.
we want to replicate all client data as it is without change of file permission.
so please can you explain where is the issue and how can i get pure replication as it is with same as client side, with same permission.
maybe i think that is because of glustefs configuration using root user,
so how can i configure glusterfs with non-root user, i tried but getting below error when i try to mount client side with non root user:
/usr/bin/fusermount-glusterfs: mount failed: Operation not permitted
hope i will getting reply ASAP.
thanks.
The text was updated successfully, but these errors were encountered: