Unexpected File->Open behavior

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings all,

I have been experiencing unexpected behavior when I try to open a file in
Vista. When I bring up File->Open and navigate to a folder that contains a
particular sub-folder, the sub-folder I want to see is not displayed. When I
explore the drive, I can see the sub-folder. I have experienced this in an
application I have written and also in Adobe 8.
 
Dean.Gordonwood said:
Greetings all,

I have been experiencing unexpected behavior when I try to open a file in
Vista. When I bring up File->Open and navigate to a folder that contains a
particular sub-folder, the sub-folder I want to see is not displayed. When I
explore the drive, I can see the sub-folder. I have experienced this in an
application I have written and also in Adobe 8.

What is the actual (path) location of the parent/subfolders? It sounds
like the parent/subfolders are in a protected area where you don't have
permission to read/write.


Malke
 
Malke, Thanks for the quick response! The actual path is C:\Program
Files\Kimray Inc\Intelligent Machine Interface. There are two folders in the
"Intelligent Machine Interface" folder, "IMIDatabase" and "Reports". I can
see the "Reports" folder but not the "IMIDatabase" folder. My user id is a
member of the Administrators group, and should have access to everything on
the system.
 
Dean.Gordonwood said:
Malke, Thanks for the quick response! The actual path is C:\Program
Files\Kimray Inc\Intelligent Machine Interface. There are two folders in the
"Intelligent Machine Interface" folder, "IMIDatabase" and "Reports". I can
see the "Reports" folder but not the "IMIDatabase" folder. My user id is a
member of the Administrators group, and should have access to everything on
the system.

That's why you can't write there. In Vista, the Program Files directory
is protected. Additionally, Administrator in Vista isn't the same as
Administrator in earlier NT systems. The built-in Administrator account
(true "root" if you will) is disabled in Vista by default. So that's why
you don't have the access you think you should.

Here are some links that explain it:

http://blogs.msdn.com/windowsvistasecurity/archive/2006/08/27/windowsvistasecurity_.aspx
http://support.microsoft.com/Default.aspx?kbid=942956 - Changes to the
built-in Administrator account in Vista

You have a couple of ways of dealing with this. The best way is to use
an updated program that understands Vista's structure and doesn't force
you to write data where you're really not supposed to. Obviously in many
cases this isn't going to be possible, although I do suggest contacting
the makers of these programs to see if they have a workaround, patch,
upgrade planned. Why reinvent the wheel when the program's creators may
already have the solution.

Otherwise, since you refer to the "Administrators group", I'm going to
guess that you have Vista Business or Ultimate and therefore can do
advanced permissions. You might create a user group for that particular
program and give it full read/write access to just that program's
directory, making sure that you set child folders to inherit permissions
from the parent. Then add the users who should have access to the group.


Malke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top