[Pkg-samba-maint] Bug#528745: /sbin/mount.smbfs: File dates on Windows 95/98/ME share are changed to 06.02.2106 when file is read.
Virgo P?a
virgo at gaiasoft.ee
Fri May 15 07:39:40 UTC 2009
Package: smbfs
Version: 2:3.2.5-4lenny2
Severity: normal
File: /sbin/mount.smbfs
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-k7 (SMP w/1 CPU core)
Locale: LANG=et_EE.iso-8859-15, LC_CTYPE=et_EE.iso-8859-15 (charmap=ISO-8859-15) (ignored: LC_ALL set to en_US.ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages smbfs depends on:
ii libc6 2.7-18 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-5lenny1 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-4lenny2 client library for interfacing wit
ii netbase 4.34 Basic TCP/IP networking system
ii samba-common 2:3.2.5-4lenny2 Samba common files used by both th
smbfs recommends no packages.
Versions of packages smbfs suggests:
ii smbclient 2:3.2.5-4lenny2 a LanManager-like simple client fo
-- no debconf information
When Windows 95 network share is mounted with smbmount (-o ro is also applied), then file dates
of the files, that are read are changed to 02.06.2106. From linux, this date looks as it is 01.01.1970.
Example session from linux:
dragon:~/tmp> smbmount //werp/D mnt -o username=tagavara,iocharset=iso8859-15,ro,servern=WERP,codepage=cp775
Warning: ignoring deprecated smbfs option 'codepage=cp775'
Password:
dragon:~/tmp> cd mnt/VIRGOTEST/
dragon:~/tmp/mnt/VIRGOTEST> ls -la
total 3
drwxrwxrwx 0 virgo users 0 1940-10-24 05:26 .
drwxrwxrwx 0 virgo users 0 1940-10-24 05:26 ..
-rwxrwSrwt 1 virgo users 27 2009-05-15 10:21 jama.txt
-rwxrwSrwt 1 virgo users 2170 2005-05-04 17:11 WAdmin62.~dpr
dragon:~/tmp/mnt/VIRGOTEST> cat jama.txt
sdfsgfas
sdfasfas
asg
dragon:~/tmp/mnt/VIRGOTEST> ls -la
total 3
drwxrwxrwx 0 virgo users 0 1940-10-24 05:26 .
drwxrwxrwx 0 virgo users 0 1940-10-24 05:26 ..
-rwxrwSrwt 1 virgo users 27 1970-01-01 00:00 jama.txt
-rwxrwSrwt 1 virgo users 2170 2005-05-04 17:11 WAdmin62.~dpr
dragon:~/tmp/mnt/VIRGOTEST> cd -
dragon:~/tmp> smbumount /home/virgo/tmp/mnt
More information about the Pkg-samba-maint
mailing list