[Pkg-samba-maint] Bug#612764: After upgrading from lenny symlinks are not working anymore

Frank Grötzner frank at unforgotten.de
Fri May 11 12:35:01 UTC 2012


Package: samba
Version: 2:3.5.6~dfsg-3squeeze8
Severity: normal

I'd like to mention that it's as well impossible to delete such broken
symlinks
even if you created them yourself:

user at client:~/share$ mount | grep share
//server/files/ on /home/user/share type cifs (rw,mand)
user at client:~/share$ ls -l
total 0
user at client:~/share$ touch a
user at client:~/share$ ln -s a b
user at client:~/share$ ln -s /etc/passwd c
ln: creating symbolic link `c': Permission denied
user at client:~/share$ ls -l
ls: cannot read symbolic link c: Permission denied
total 0
-rw-r--r-- 1 user default_user  0 May 11 10:05 a
lrwxrwxrwx 1 user default_user  1 May 11 10:05 b -> a
lrwxrwxrwx 1 user default_user 11 May 11 10:05 c
user at client:~/share$ rm a b c
rm: cannot remove `c': Permission denied
user at client:~/share$ ls -l
ls: cannot read symbolic link c: Permission denied
total 0
lrwxrwxrwx 1 user default_user 11 May 11 10:05 c
user at client:~/share$ rm c
rm: cannot remove `c': Permission denied
user at client:~/share$ ls -l
ls: cannot access c: Permission denied
total 0
l????????? ? ? ? ?            ? c
user at client:~/share$ 

You can only clean it up on the server side...

Regards,
Frank

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser           3.112+nmu2             add and remove users and
groups
ii  debconf [debconf- 1.5.36.1               Debian configuration
management sy
ii  libacl1           2.2.49-4               Access control list shared
library
ii  libattr1          1:2.4.44-2             Extended attribute shared
library
ii  libc6             2.11.3-2               Embedded GNU C Library:
Shared lib
ii  libcap2           1:2.19-3               support for getting/setting
POSIX.
ii  libcomerr2        1.41.12-4stable1       common error description
library
ii  libcups2          1.4.4-7+squeeze1       Common UNIX Printing
System(tm) - 
ii  libgssapi-krb5-2  1.8.3+dfsg-4squeeze5   MIT Kerberos runtime
libraries - k
ii  libk5crypto3      1.8.3+dfsg-4squeeze5   MIT Kerberos runtime
libraries - C
ii  libkrb5-3         1.8.3+dfsg-4squeeze5   MIT Kerberos runtime
libraries
ii  libldap-2.4-2     2.4.23-7.2             OpenLDAP libraries
ii  libpam-modules    1.1.1-6.1+squeeze1     Pluggable Authentication
Modules f
ii  libpam-runtime    1.1.1-6.1+squeeze1     Runtime support for the PAM
librar
ii  libpam0g          1.1.1-6.1+squeeze1     Pluggable Authentication
Modules l
ii  libpopt0          1.16-1                 lib for parsing cmdline
parameters
ii  libtalloc2        2.0.1-1                hierarchical pool based
memory all
ii  libwbclient0      2:3.5.6~dfsg-3squeeze8 Samba winbind client library
ii  lsb-base          3.2-23.2squeeze1       Linux Standard Base 3.2 init
scrip
ii  procps            1:3.2.8-9              /proc file system utilities
ii  samba-common      2:3.5.6~dfsg-3squeeze8 common files used by both the
Samb
ii  update-inetd      4.38+nmu1+squeeze1     inetd configuration file
updater
ii  zlib1g            1:1.2.3.4.dfsg-3       compression library - runtime

Versions of packages samba recommends:
ii  logrotate                     3.7.8-6    Log rotation utility

Versions of packages samba suggests:
pn  ctdb                          <none>     (no description available)
pn  ldb-tools                     <none>     (no description available)
pn  openbsd-inetd | inet-superser <none>     (no description available)
pn  smbldap-tools                 <none>     (no description available)

-- debconf information excluded






More information about the Pkg-samba-maint mailing list