Skip to content
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

glusterfs permission denied #77

Closed
vgkowski opened this issue Jan 2, 2017 · 1 comment
Closed

glusterfs permission denied #77

vgkowski opened this issue Jan 2, 2017 · 1 comment

Comments

@vgkowski
Copy link

vgkowski commented Jan 2, 2017

Hi,
I am trying to set a simple gluster volume but cannot get read or write access to the fuse mount point without root privileges.
I am using gluster 3.8.5 from SIG repo on Centos 7.2 in cloudwatt provider

uname -r
3.10.0-327.28.3.el7.x86_64

Here is the steps I follow to instantiate my volume (on 2 nodes):

sudo mkfs.xfs -i size=512 /dev/vdc1 -f
sudo mkdir -p /srv/gluster/data/small
sudo mount -t xfs /dev/vdc1 /srv/gluster/data
sudo yum install glusterfs-server glusterfs-fuse
sudo service glusterd start
sudo gluster peer probe 172.52.0.3
sudo gluster volume create small replica 2 transport tcp 172.52.0.4:/srv/gluster/data/small 172.52.0.3:/srv/gluster/data/small
sudo gluster volume set small nfs.disable off
sudo gluster volume set small nfs.acl off
sudo gluster volume start small
sudo mkdir -p /srv/data/small
sudo mount -t glusterfs -o dev,acl 172.52.0.4:/small /srv/data/small
sudo chmod -R 777 /srv/data/small
ll /srv/data/small 
**ls: cannot access /srv/data/small: Permission denied**
@vgkowski
Copy link
Author

vgkowski commented Jan 2, 2017

noob error in permissions

@vgkowski vgkowski closed this as completed Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant