'file executable' always returns 0, even on .exe and .bat when asked
for a file on a network share:
% info patchlevel
8.5.2
% set file L:/ralf/si++aegis/si++.4.0.C443/bin/winnt/gen.exe
L:/ralf/si++aegis/si++.4.0.C443/bin/winnt/gen.exe
% file exists $file
1
% file readable $file
1
% file executable $file
0
% file executable {L:/ralf/si++aegis/si++.4.0.C443/bin/winnt/simenu.bat}
0
However, when copying the files to local disk, the files are qualified
as executable:
% cp L:/ralf/si++aegis/si++.4.0.C443/bin/winnt/simenu.bat d:/temp
% file executable d:/temp/simenu.bat
1
% cp L:/ralf/si++aegis/si++.4.0.C443/bin/winnt/gen.exe d:/temp
% file executable d:/temp/gen.exe
1
Also:
% set argv0
D:/Programme/tcl/bin/tclsh85.exe
% file executable $argv0
1
The L:/ Network Share is an Samba share mounted from a linux box.
Are there any special requirements for the smb options?
Thanks
R'
> The L:/ Network Share is an Samba share mounted from a linux box.
I have opened a similar report some time ago for file readable on a
Samba share. Still open. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1613456&group_id=10894&atid=110894
Interesting to see this kind of oddities still with 8.5.2
Francois
For the record:
Assigned tracker-id [ 1951574 ] on sourceforge.
R'