Web lists-archives.com

Re: [Samba] Standalone Samba in a Win2008 DC environment, transition to samba




> I added some sentences to be clear about this:
> https://wiki.samba.org/index.php/User_Home_Folders#Using_POSIX_ACLs

> Anyway, in a non-domain environment, naming a group "Domain Users" seems to
> guarantee confusion some day. :-)
>

Thanks for the clarification.
The system now has "domain_users" group and users are added to that
group. Additionally /srv/samba/users is owned by that group with chmod
2750.
What is the logic however that when a user "justin" creates a
directory within its home dir /users/justin/testdir that dir receives
drwxr-xr-x instead of what is stated in the smb.conf, and that is
0700, then it should become drwx------, correct?

Thank for any directions to understand it

Below is what I see:

[root@fedora samba]# getfacl  users
# file: users
# owner: root
# group: domain_users
# flags: -s-
user::rwx
group::r-x
other::---

[root@fedora samba]# getfacl  users/justin/
# file: users/justin/
# owner: justin
# group: domain_users
# flags: -s-
user::rwx
group::---
other::---

[root@fedora samba]# getfacl  users/justin/justinFolder/
# file: users/justin/justinFolder/
# owner: justin
# group: domain_users
# flags: -s-
user::rwx
group::r-x
other::r-x

[root@fedora samba]# ls -ld users/
drwxr-s---. 4 root domain_users 4096 Mar 10 19:45 users/
[root@fedora samba]# ls -ld users/justin/
drwx--S---. 3 justin domain_users 4096 Mar 10 19:12 users/justin/
[root@fedora samba]# ls -ld users/justin/justinFolder/
drwxr-sr-x. 2 justin domain_users 4096 Mar 10 19:12 users/justin/justinFolder/





best regards
linforpros

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba