Your message dated Sun, 7 Dec 2008 19:33:53 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Feature, not bug
has caused the Debian Bug report #410048,
regarding samba: misinterprets create mode with POSIX acls
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
410048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410048
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Having the executable bit set when files are created on a samba share
is a feature, not a bug.
This is related to "map archive". See smb.conf(5): samba maps the
Windows archive bit to the executable bit for the file owner.
If you want to avoid this behaviour, you need to set "map archive =
no" in smb.conf, either globally or for the relevant shares.
The feature may be debatable, but the Debian BTS is very certainly not
the best place to debate about samba's design choices (particularly
this one, which is here for ages).
--
signature.asc
Description: Digital signature
--- End Message ---