[Samba] Inconsistent ls behavior on smbmount'ed Windows shares

Игорь Домброван igord at chorus.ru
Tue Jan 25 11:42:34 GMT 2005


Hi group

When I use [TAB] to finish the file name ls shows the file. When I repeat
the comman with [UP] ls says there's no such file.
Any ideas ?

The same thing on Fedora Core 3 and FreeBSD 5.3,4.9

[root at vax ~]# cat /etc/sysconfig/i18n
LANG="ru_RU.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en:ru_RU.UTF-8:ru_RU:ru"
SYSFONT="latarcyrheb-sun16"
[root at vax ~]# mount -t smbfs -o
username=username/DOMAIN%password,iocharset=utf8,codepage=cp866 //computer/c$ /mnt
[root at vax ~]# ls -la /mnt/Documents\ and\ Settings/igord/Favorites/Reading/The\ Open-source\ PKI\ Book.url
-rwxr-xr-x  1 root root 226 Фев 10  2004 /mnt/Documents and Settings/igord/Favorites/Reading/The Open-source PKI Book.url
[root at vax ~]# ls -la /mnt/Documents\ and\ Settings/igord/Favorites/Reading/The\ Open-source\ PKI\ Book.url
ls: /mnt/Documents and Settings/igord/Favorites/Reading/The Open-source PKI
Book.url: No such file or directory
[root at vax ~]# ls -la /mnt/Documents\ and\ Settings/igord/Favorites/Reading/The\ Open-source\ PKI\ Book.url
ls: /mnt/Documents and Settings/igord/Favorites/Reading/The Open-source PKI Book.url: No such file or directory
[root at vax ~]# ls -la /mnt/Documents\ and\ Settings/igord/Favorites/Reading/The\ Open-source\ PKI\ Book.url
-rwxr-xr-x  1 root root 226 Фев 10  2004 /mnt/Documents and Settings/igord/Favorites/Reading/The Open-source PKI Book.url

Any ideas ?

Regards,
Igor


More information about the samba mailing list