Hi Ralph,
Am 18.12.24 um 18:59 schrieb Ralph Boehme via samba:> Hi Stefan
>
> On 12/18/24 5:40 PM, Stefan Kania via samba wrote:
>> skania at cluster01:~$ ls -ld /glusterfs/admin-share/daten1/.snaps
>> drwxr-xr-x 2 root root 4096? 1. Jan 1970 /glusterfs/admin-share/
>> daten1/.snaps
>
> what are the permissions of *each* path component
>
> # ls -ld /
> # ls -ld /glusterfs
> # ls -ld /glusterfs/admin-share/
> # ls -ld /glusterfs/admin-share/daten1/
>
>
root at cluster01:~# ls -ld /
drwxr-xr-x 20 root root 4096 16. Dez 21:12 /
root at cluster01:~# ls -ld /glusterfs
drwxr-xr-x 6 root root 124 18. Dez 09:20 /glusterfs
root at cluster01:~# ls -ld /glusterfs/admin-share/
drwxrwxr-x 4 root domain admins 40 18. Dez 17:27 /glusterfs/admin-share/
root at cluster01:~# ls -ld /glusterfs/admin-share/daten1/
drwxrwx---+ 3 administrator domain users 20 18. Dez 10:29
/glusterfs/admin-share/daten1/
root at cluster01:~# getfacl /glusterfs/admin-share/daten1/
getfacl: Entferne f?hrende '/' von absoluten Pfadnamen
# file: glusterfs/admin-share/daten1/
# owner: administrator
# group: domain\040users
user::rwx
user:administrator:rwx
user:domain\040admins:rwx
user:domain\040users:rwx
group::rwx
group:domain\040admins:rwx
group:domain\040users:rwx
mask::rwx
other::---
default:user::rwx
default:user:administrator:rwx
default:user:domain\040admins:rwx
default:user:domain\040users:rwx
default:group::---
default:group:domain\040admins:rwx
default:group:domain\040users:rwx
default:mask::rwx
default:other::---
root at cluster01:~# ls -ld /glusterfs/admin-share/daten1/.snaps
drwxr-xr-x 2 root root 4096 1. Jan 1970
/glusterfs/admin-share/daten1/.snaps
root at cluster01:~# ls -ld
/glusterfs/admin-share/daten1/.snaps/snap1_GMT-2024.12.18-09.31.59/
drwxrwx---+ 3 administrator domain users 20 18. Dez 10:29
/glusterfs/admin-share/daten1/.snaps/snap1_GMT-2024.12.18-09.31.59/
root at cluster01:~# getfacl
/glusterfs/admin-share/daten1/.snaps/snap1_GMT-2024.12.18-09.31.59/
getfacl: Entferne f?hrende '/' von absoluten Pfadnamen
# file: glusterfs/admin-share/daten1/.snaps/snap1_GMT-2024.12.18-09.31.59/
# owner: administrator
# group: domain\040users
user::rwx
user:administrator:rwx
user:domain\040admins:rwx
user:domain\040users:rwx
group::rwx
group:domain\040admins:rwx
group:domain\040users:rwx
mask::rwx
other::---
default:user::rwx
default:user:administrator:rwx
default:user:domain\040admins:rwx
default:user:domain\040users:rwx
default:group::---
default:group:domain\040admins:rwx
default:group:domain\040users:rwx
default:mask::rwx
default:other::---
I would say that's fine :-)
My user skania can create and remove files and directories form Windows
and from a Linux-Client in /glusterfs/admin-share/daten1/ via the share
[daten1]
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.samba.org/pipermail/samba/attachments/20241218/63a177a1/OpenPGP_signature.sig>