<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I am testing the glusterfs 3.12.14 version on CentOS Linux release 7.5.1804 and when I try to write a file using a samba client I get &#39;Permission denied&#39;. Below I give the output and my configuration.</div><div><br></div><div><br>[root@workstation ~]# df<br>Filesystem                            1K-blocks    Used Available Use% Mounted on<br>/dev/mapper/centos-root                 6486016 1199008   5287008  19% /<br>devtmpfs                                 495892       0    495892   0% /dev<br>tmpfs                                    507736       0    507736   0% /dev/shm<br>tmpfs                                    507736    6828    500908   2% /run<br>tmpfs                                    507736       0    507736   0% /sys/fs/cgroup<br>/dev/sda1                               1038336  161940    876396  16% /boot<br>tmpfs                                    101548       0    101548   0% /run/user/1000<br>//servera.lab.local/gluster-mastervol   2076672   66720   2009952   4% /mnt/smbdata<br>[root@workstation ~]# ls /mnt/smbdata/<br>file00  file01  file02  file03  file04  file05  file06  file07  file08  file09  file10</div><div><br></div><div>[root@workstation ~]# cat /mnt/smbdata/file00</div><div><br></div><div>[root@workstation ~]# touch /mnt/smbdata/file11<br>touch: cannot touch ‘/mnt/smbdata/file11’: Permission denied</div><div><br></div><div><br>[gluster-mastervol]<br>comment = For samba share of volume mastervol<br>vfs objects = glusterfs<br>glusterfs:volume = mastervol<br>glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log<br>glusterfs:loglevel = 7<br>path = /<br>read only = no<br>kernel share modes = No</div><div><br></div><div><br>[root@servera ~]# systemctl status smb<br>● smb.service - Samba SMB Daemon<br>   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)<br>   Active: active (running) since Wed 2018-10-10 10:51:42 CEST; 5min ago<br> Main PID: 3078 (smbd)<br>   Status: &quot;smbd: ready to serve connections...&quot;<br>   CGroup: /system.slice/smb.service<br>           ├─3078 /usr/sbin/smbd --foreground --no-process-group<br>           ├─3080 /usr/sbin/smbd --foreground --no-process-group<br>           ├─3081 /usr/sbin/smbd --foreground --no-process-group<br>           ├─3082 /usr/sbin/smbd --foreground --no-process-group<br>           └─3096 /usr/sbin/smbd --foreground --no-process-group<br><br>Oct 10 10:51:41 servera.lab.local systemd[1]: Starting Samba SMB Daemon...<br>Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10 10:51:42.014539,  0] ../lib/util/become_daemon.c:124(daemon_ready)<br>Oct 10 10:51:42 servera.lab.local systemd[1]: Started Samba SMB Daemon.<br>Oct 10 10:51:42 servera.lab.local smbd[3078]:   STATUS=daemon &#39;smbd&#39; finished starting up and ready to serve connections<br>Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10 10:52:06.741897,  0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>Oct 10 10:52:06 servera.lab.local smbd[3085]:   vfs_gluster_connect: mastervol: Initialized volume from servers localhost<br>Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10 10:52:09.812596,  0] ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>Oct 10 10:52:09 servera.lab.local smbd[3096]:   vfs_gluster_connect: mastervol: Initialized volume from servers localhost<br>Hint: Some lines were ellipsized, use -l to show in full.<br></div><div><br></div><div><br></div><div><br>[root@servera ~]# rpm -qa | egrep -i &#39;gluster|samba&#39;<br>glusterfs-client-xlators-3.12.14-1.el7.x86_64<br>glusterfs-api-3.12.14-1.el7.x86_64<br>glusterfs-fuse-3.12.14-1.el7.x86_64<br>glusterfs-server-3.12.14-1.el7.x86_64<br>samba-common-tools-4.7.1-9.el7_5.x86_64<br>samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64<br>samba-winbind-4.7.1-9.el7_5.x86_64<br>centos-release-gluster312-1.0-2.el7.centos.noarch<br>glusterfs-libs-3.12.14-1.el7.x86_64<br>glusterfs-3.12.14-1.el7.x86_64<br>glusterfs-cli-3.12.14-1.el7.x86_64<br>glusterfs-gnfs-3.12.14-1.el7.x86_64<br>samba-common-4.7.1-9.el7_5.noarch<br>samba-common-libs-4.7.1-9.el7_5.x86_64<br>samba-client-libs-4.7.1-9.el7_5.x86_64<br>samba-libs-4.7.1-9.el7_5.x86_64<br>samba-4.7.1-9.el7_5.x86_64<br>samba-winbind-modules-4.7.1-9.el7_5.x86_64<br>samba-winbind-clients-4.7.1-9.el7_5.x86_64<br></div><div><br></div><div><br></div><div>Any idea how I can solve this problem?</div><div><br></div><div>Thanks in advance!<br></div></div></div></div></div></div></div></div></div>