[Pkg-samba-maint] Bug#410048: samba: misinterprets create mode with
POSIX acls
Степан
Степан
Wed Feb 7 12:08:59 CET 2007
Package: samba
Version: 3.0.14a-3sarge4
Severity: normal
According to
http://www.suse.de/~agruen/acl/linux-acls/online/#SECTION00040000000000000000
http://www.suse.de/~agruen/acl/linux-acls/online/#fig:acl-mapping
"With extended ACLs, the group class permissions map to the mask entry
permissions, whereas the owning group entry still defines the owning
group permissions."
This is the case with other programs, such as the "touch" and "ls", but
not with samba.
Samba is configured with "create mode = 0664".
This behavior does not seem to depend on "nt acl support" setting.
file "linux" was created with touch
file "windows" was created on windows via samba.
% ls -la
total 24
drwxrwxr-x+ 2 stepan stepan 4096 2007-02-07 14:27 .
drwxrwxr-x+ 10 root webmaster 4096 2007-02-07 14:26 ..
-rw-rw-r--+ 1 stepan stepan 0 2007-02-07 14:26 linux
-rw-rwxr--+ 1 stepan stepan 0 2007-02-07 14:27 windows
% getfacl -R .
# file: .
# owner: stepan
# group: stepan
user::rwx
group::rwx
group:webmaster:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:webmaster:rwx
default:mask::rwx
default:other::r-x
# file: linux
# owner: stepan
# group: stepan
user::rw-
group::rwx #effective:rw-
group:webmaster:rwx #effective:rw-
mask::rw-
other::r--
# file: windows
# owner: stepan
# group: stepan
user::rw-
group::rw-
group:webmaster:rwx
mask::rwx
other::r--
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=ru_RU.CP1251, LC_CTYPE=ru_RU.CP1251 (charmap=CP1251)
Versions of packages samba depends on:
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii libacl1 2.2.23-1 Access control list shared library
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libcomerr2 1.37-2sarge1 common error description library
ii libcupsys2-gnutls10 1.1.23-10sarge1 Common UNIX Printing System(tm) -
ii libkrb53 1.3.6-2sarge3 MIT Kerberos runtime libraries
ii libldap2 2.1.30-8 OpenLDAP libraries
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii logrotate 3.7-5 Log rotation utility
ii netbase 4.21 Basic TCP/IP networking system
ii samba-common 3.0.14a-3sarge4 Samba common files used by both th
-- debconf information:
samba/nmbd_from_inetd:
* samba/run_mode: daemons
* samba/log_files_moved:
* samba/tdbsam: true
* samba/generate_smbpasswd: true
More information about the Pkg-samba-maint
mailing list