No subject


Mon Dec 1 12:27:21 GMT 2003


been shared out read-only for the purposes of a script which runs on the
Linux box that copies files for backup.

On one ME box, I can access the C:\WINDOWS directory without difficulty from
Linux, however, on the second ME box, the C:\WINDOWS directory does not show
up as a directory and has a zero byte size when using 'smbmount' and 'ls' as
follows:

[root at vault /root]# smbmount //dan/c /mnt/pc -o password=backup,ro
[root at vault /root]# ls -l /mnt/pc
total 2348
-rwxr-xr-x    1 root     root          194 Mar 16 09:41 AUTOEXEC.BAK*
-rwxr-xr-x    1 root     root          194 Mar 16 09:41 AUTOEXEC.BAT*
-rwxr-xr-x    1 root     root        45642 Mar 14 19:57 BOOTLOG.PRV*
-rwxr-xr-x    1 root     root        59615 Mar 14 20:12 BOOTLOG.TXT*
-r-xr-xr-x    1 root     root       225312 Mar 14 19:37 CLASSES.1ST*
-rwxr-xr-x    1 root     root            0 Mar 16 09:41 CONFIG.BAK*
-rwxr-xr-x    1 root     root            0 Mar 16 09:41 CONFIG.SYS*
-rwxr-xr-x    1 root     root        45354 Mar 14 19:41 DETLOG.TXT*
drwxr-xr-x    1 root     root          512 May 23 11:45 Dell/
-rwxr-xr-x    1 root     root           22 Mar 14 19:23 MSDOS.---*
-r-xr-xr-x    1 root     root         1660 Mar 14 19:51 MSDOS.SYS*
drwxr-xr-x    1 root     root          512 May 23 11:45 My Documents/
drwxr-xr-x    1 root     root          512 May 23 11:45 My Music/
drwxr-xr-x    1 root     root          512 May 23 11:45 NCDTREE/
-rwxr-xr-x    1 root     root         3191 Mar 14 19:54 NETLOG.TXT*
dr-xr-xr-x    1 root     root          512 May 23 11:45 Program Files/
drwxr-xr-x    1 root     root          512 May 23 11:45 Recycled/
-rwxr-xr-x    1 root     root          442 May 17 20:38 SCANDISK.LOG*
-rwxr-xr-x    1 root     root       189497 Mar 16 09:22 SETUPLOG.TXT*
-rwxr-xr-x    1 root     root         5166 Mar 14 19:37 SUHDLOG.DAT*
-rwxr-xr-x    1 root     root       491552 Mar 14 19:37 SYSTEM.1ST*
-rwxr-xr-x    1 root     root        49152 Mar 14 19:50 VIDEOROM.BIN*
-rwxr-xr-x    1 root     root            0 Mar 14 19:21 WINDOWS*
drwxr-xr-x    1 root     root          512 May 23 11:45 _RESTORE/
-rwxr-xr-x    1 root     root          194 Mar 14 20:12 autoexec.nav*
-rwxr-xr-x    1 root     root        93040 Jun  8  2000 command.com*
-rwxr-xr-x    1 root     root         5141 May 23 11:01 ffastun.ffa*
-rwxr-xr-x    1 root     root       237568 May 23 11:00 ffastun.ffl*
-rwxr-xr-x    1 root     root        94208 May 23 11:01 ffastun.ffo*
-rwxr-xr-x    1 root     root       737280 May 23 11:01 ffastun0.ffx*
-r-xr-xr-x    1 root     root       110080 Dec 21  2000 io.sys*
drwxr-xr-x    1 root     root          512 May 23 11:45 temp/
dr-xr-xr-x    1 root     root          512 May 23 11:45 ~MSSETUP.T/
[root at vault /root]#

As you can see, the WINDOWS entry doesn't show as a directory and the size
is zero bytes.

This isn't the case on another ME box with the same smbmount and ls
commands.

Would there be some setting in Windows specific to the C:\WINDOWS directory
that prevents Samba from seeing it properly?

Thanks,

Curtis





More information about the samba mailing list