GlusterFS, move files, Samba ACL...

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

 



[ Received no feedback, i resend it... ]

A little strange things, but i'm hitting my head on the wall...


I needed to 'enlarge' my main filesystem (XFS backed-up), that contain my
main samba share and a brick for a GFS share; i've setup a new volume (for
the VM), formatted XFS, move all the file taking care to umount and stop GFS
(so, syncing the brick, not the GFS filesystem) using --acls and -attrs
rsync options.

All went well, all the share work as expected, apart the GFS one: folder
appears with correct permission, files are not accessible from samba; i've
tried from a unix user in console and works as expected.

If (from windows) i create new files, permissions are OK. Only preexistent
files (files, not folders!) are inaccessible.

In samba the share is:

 [FVG]
        comment = Regionale (FVG)
        volume = FVG
        path = /
        browseable = yes 
        writeable = yes  
        map acl inherit = yes
        store dos attributes = yes
        inherit permissions = yes
        vfs objects = recycle full_audit glusterfs
        glusterfs:volume = gv0
        kernel share modes = no
        recycle:repository = .cestino/%U
        recycle:keeptree = yes
        recycle:versions = yes
        recycle:exclude=*.TMP,*.tmp,*.temp,*.o,*.obj,~$*
        full_audit:prefix = %S|%d|%I|%M|%u
        full_audit:success = mkdir rmdir read pread write pwrite rename unlink
        full_audit:failure = none


gluster version 3.8.8-1+deb9u1, samba version 4.10.18+dfsg-0.1stretch1 .


Permission linux side are different but seems not incoherent:

root@vdmsv1:/srv/fvg/Ufficio Paghe# getfattr -m - -d Copia\ di\ fvg.xlsx Prova\,\ DELME.txt 
# file: Copia di fvg.xlsx
system.posix_acl_access=0sAgAAAAEABwD/////AgAHAAAAAAAEAAcA/////wgABwD5KgAACAAFAAgrAAAIAAcAHysAAAgABwA3KwAAEAAHAP////8gAAAA/////w==
trusted.SGI_ACL_FILE=0sAAAACQAAAAH/////AAcAAAAAAAIAAAAAAAcAAAAAAAT/////AAcAAAAAAAgAACr5AAcAAAAAAAgAACsIAAUAAAAAAAgAACsfAAcAAAAAAAgAACs3AAcAAAAAABD/////AAcAAAAAACD/////AAAAAA==
user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABD7z36KtcBAAAAAAAAAAA=
user.SAMBA_PAI=0sAgSQCQAAAAABOCsAAAAAKTAAAAAAKTAAAAABOCsAAAABNysAAAABHysAAAABCCsAAAAB+SoAAAAC/////w==

# file: Prova, DELME.txt
system.posix_acl_access=0sAgAAAAEABwD/////BAAHAP////8IAAcA+SoAAAgABQAIKwAACAAHAB8rAAAIAAcANysAABAABgD/////IAAAAP////8=
trusted.SGI_ACL_FILE=0sAAAACAAAAAH/////AAcAAAAAAAT/////AAcAAAAAAAgAACr5AAcAAAAAAAgAACsIAAUAAAAAAAgAACsfAAcAAAAAAAgAACs3AAcAAAAAABD/////AAYAAAAAACD/////AAAAAA==
user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICC3quz2dkBAAAAAAAAAAA=

root@vdmsv1:/srv/fvg/Ufficio Paghe# getfacl Copia\ di\ fvg.xlsx Prova\,\ DELME.txt 
# file: Copia di fvg.xlsx
# owner: stefano
# group: pp_uffconta
user::rwx
user:stefano:rwx
group::rw-
group:sir:rw-
group:sv_reamm:r--
group:sv_uffpers:rw-
group:pp_uffpers:rw-
group:pp_uffconta:rw-
mask::rwx
other::---

# file: Prova, DELME.txt
# owner: gaio
# group: sir
user::rwx
group::rwx                      #effective:rw-
group:sir:rwx                   #effective:rw-
group:sv_reamm:r-x              #effective:r--
group:sv_uffpers:rwx            #effective:rw-
group:pp_uffpers:rwx            #effective:rw-
mask::rw-
other::---


'Copia\ di\ fvg.xlsx' is an old file, 'Prova\,\ DELME.txt' a test file
created ex-novo.


Thanks.

-- 
  ...noi leggiamo il Vangelo come se non avessimo soldi,
  e usiamo i soldi come se non conoscessimo nulla del Vangelo...
						(un Gesuita inglese)


________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux