Re: problem with special characters in file command?



billposer@xxxxxxxxxxxx schrieb:
I'm not convinced there is a Tcl error here.

I've come to this conclusion now.

If I understand
correctly, what you consider to be an error is the fact that both the
xml and wav files are listed when you glob the directory but that when
you execute file readable on the xml file, the result is 0. This need
not be an error. "file readable" does not test the mere existence of
the file; it tests whether it is readable.

I test for readability because this is what I want to do.

The result you are getting
is correct assuming that you do not have read permission for that
file. Your problem may be the permissions on the file rather than
anything in Tcl.

I agree to your argumentation. But the file is readable by the account exectimng the program - my login.

mc is one of the programs that can handle the file name, and I can edit it (for example), but when I go to the shell prompt there are problems as well.

I think I should drop debugging this problem for now, and only allow no-problem-filenames.

Max
.



Relevant Pages

  • Re: Request for permission type failed
    ... In order to give your program the permissions you need, go to the .NET Administration applet and add a new permission set that corresponds to your application. ... DataGridView are read and writen to the .XML using DataSet.ReadXml ... StackCrawlMark& stackMark, Boolean isPermSet) ... access, Int32 rights, Boolean useRights, FileShare share, Int32 ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Help with script to get backup log status on windows systems
    ... It's working for everything but the .xml backup files. ... you can use glob to do the globbing in Perl. ... Actually, although I normally hate it (in Perl), that would probably be ...
    (comp.lang.perl.misc)
  • Re: WMP 11 > How to affect library edits?
    ... whatever media player you use for WAV files. ... information from Foobar to the XML from Metadata Backup. ... For MP3 Tag and Rename functions I use a great proggy called, um, MP3 ...
    (microsoft.public.windowsmedia.player)
  • Re: WMP 11 > How to affect library edits?
    ... whatever media player you use for WAV files. ... information from Foobar to the XML from Metadata Backup. ... For MP3 Tag and Rename functions I use a great proggy called, um, MP3 ...
    (microsoft.public.windowsmedia.player)
  • Re: Incorrect XML returned
    ... the JOIN clause looks a little odd to me. ... FOR XML AUTO ... UserGroupID int) ... (1, 1, 'Test Permission') ...
    (microsoft.public.sqlserver.xml)