Re: File compatibility issues with LAN drive



On Thu, 29 Nov 2007 21:21:42 +0000, Joerg wrote:

When calling the file from within an application everything is
fine. When clicking the files it errors, the local PC fails to launch
the application registered for that file extension.

I seem to recall an issue with samba interoperation with
linux. Windows did not have a file "executable" flag, whereas linux
does. So samba would default to setting the flag when writing a file
to disc, making all files "executable". Now this would normally not
make any difference from the point of view of windows. But perhaps
windows has smartened up and is now interpreting this flag somehow?

Making _all_ files executable? Somehow that doesn't strike me as a
particularly smart move ... But yeah, this could indeed be the problem

I doubt it. The executable bit only affects what happens if you try to
execute the file on the Unix system on which the Samba server is running.
It isn't visible to a Windows system.

because Windows always wants to start them as executables.

Are you sure?

Earlier, you wrote:

When clicking the files it errors, the local PC fails to launch
the application registered for that file extension.

That isn't the same thing as treating it as an executable.

Also, try examining the Security tab in the file's Properties dialog. You
might need to disable the "Simple File Sharing" option in the Explorer
preferences to get that tab to appear. It may be that the LAN drive is
trying to provide NTFS-style ACLs and getting it wrong.

ISTR that permission to "execute" a file (i.e. double-clicking on it
icon in explorer) can be restricted separately from trying to read a file
(e.g. File->Open within in the application).

.



Relevant Pages

  • Re: File compatibility issues with LAN drive
    ... the application registered for that file extension. ... Windows did not have a file "executable" flag, ... execute the file on the Unix system on which the Samba server is running. ... try examining the Security tab in the file's Properties dialog. ...
    (sci.electronics.design)
  • Windows permissions was Re: Its COBOL, Jim, but not as we know it...
    ... Windows is highly configurable; the fact that people ignore this and run ... One of the problems is also figuring out what security features ... Microsoft email can automatically execute an attachment. ... Here's a transcript from a Linux forum 4 years ago where at least one user ...
    (comp.lang.cobol)
  • Re: Its COBOL, Jim, but not as we know it...
    ... Windows is highly configurable; the fact that people ignore this and run ... It is _you_ that has improved the security, ... Microsoft email can automatically execute an attachment. ... Here's a transcript from a Linux forum 4 years ago where at least one user ...
    (comp.lang.cobol)
  • Re: [opensuse] Who said Linux doesnot get Virus infections
    ... you can execute a screen saver if you test it. ... They're under the general "viruses" tag. ... A Linux system being used to protect Windows ...
    (SuSE)
  • Re: ?? Windows Registry corrupted
    ... Enquire, plan and execute ... including System Restore. ... This PC was running Windows XP Pro. ... It appeared as if it would repair the operating system, ...
    (microsoft.public.windowsxp.perform_maintain)

Loading