[Pkg-samba-maint] Bug#507769: smbfs: mount.cifs set the setgid bit of regular files by default

Frederic Mothe mothe at nancy.inra.fr
Thu Dec 4 10:57:27 UTC 2008


Package: smbfs
Version: 2:3.2.5-1
Severity: normal

If I mount a share from a NAS disk with the following command:
/sbin/mount.cifs //nas/mydir mountdir -o user=DOMAIN/mothe

The directories are created with 0777 permissions but the
regular files have the setgid bit set:
drwxrwxrwx 2 mothe mothe     4096 déc  4 11:33 test_dir
-rwxrwSrwx 1 mothe mothe        0 déc  4 11:32 test_file

When using the file_mode option, the permissions are set 
correctly.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (800, 'testing'), (600, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii  libc6                2.7-16              GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description library
ii  libkeyutils1         1.2-9               Linux Key Management Utilities (li
ii  libkrb53             1.6.dfsg.4~beta1-4  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.0~git20080616-1 hierarchical pool based memory all
ii  libwbclient0         2:3.2.5-1           client library for interfacing wit
ii  netbase              4.34                Basic TCP/IP networking system
ii  samba-common         2:3.2.5-1           Samba common files used by both th

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii  smbclient                     2:3.2.5-1  a LanManager-like simple client fo

-- no debconf information





More information about the Pkg-samba-maint mailing list