Can't change to directory

R

ralphs

Using XP Pro, SP3 and working from the command line

I did a recursive text search in files (grep) and received the
following message:
Cannot change to CardSpace

Using dir /s /ah I found it here
C:\Documents and Settings\Ralph\Local Settings\
Application Data\Microsoft\CardSpace

However after changing to that Microsoft directory a
cd CardSpace
results in this message
Access is denied.

Looking at it with another tool I found two hidden directories,
CardSpace with attributes of directory and hidden
and Feeds Cache with directory, hidden and system.
However I CAN change the directory to Feeds Cache.

I have never before found a directory on a drive to which I cannot
change. What is going on?
 
P

Pegasus \(MVP\)

ralphs said:
Using XP Pro, SP3 and working from the command line

I did a recursive text search in files (grep) and received the
following message:
Cannot change to CardSpace

Using dir /s /ah I found it here
C:\Documents and Settings\Ralph\Local Settings\
Application Data\Microsoft\CardSpace

However after changing to that Microsoft directory a
cd CardSpace
results in this message
Access is denied.

Looking at it with another tool I found two hidden directories,
CardSpace with attributes of directory and hidden
and Feeds Cache with directory, hidden and system.
However I CAN change the directory to Feeds Cache.

I have never before found a directory on a drive to which I cannot
change. What is going on?

You need to seize ownership of this folder. Click Start / Help
and look for help on Ownerhisp if unsure how to do this.
 
R

ralphs

Pegasus (MVP) said:
You need to seize ownership of this folder. Click Start / Help
and look for help on Ownerhisp if unsure how to do this.

I am uncomfortable with that solution. The way it says to do it is to drag
it into another directory, essentially doing this (line wrapped for
readabillity)

move
"C:\Documents and Settings\Ralph\Local Settings\Application
Data\Microsoft\CardSpace"
"C:\Documents and Settings\All Users\Documents\."

That changes the path for whatever program might use the CardSpace
directory. I don't remember before Windows 386, but at least from that
point changes in OS-installed paths tend to make Microsoft programs fail.
It also leaves the question of why I simultaneously have full control of the
directory except for an inability to access its contents other than by
moving it where everybody has access.

Do you know of a way that I might give myself access with another method
(perhaps by using the ACL)?
 
B

bw

ralphs said:
Using XP Pro, SP3 and working from the command line

I did a recursive text search in files (grep) and received the
following message:
Cannot change to CardSpace

Using dir /s /ah I found it here
C:\Documents and Settings\Ralph\Local Settings\
Application Data\Microsoft\CardSpace

However after changing to that Microsoft directory a
cd CardSpace
results in this message
Access is denied.

What are the permissions for the user looking, and did Ralph make the folder
private?
 
P

Pegasus \(MVP\)

ralphs said:
I am uncomfortable with that solution. The way it says to do it is to
drag it into another directory, essentially doing this (line wrapped for
readabillity)

move
"C:\Documents and Settings\Ralph\Local Settings\Application
Data\Microsoft\CardSpace"
"C:\Documents and Settings\All Users\Documents\."

That changes the path for whatever program might use the CardSpace
directory. I don't remember before Windows 386, but at least from that
point changes in OS-installed paths tend to make Microsoft programs fail.
It also leaves the question of why I simultaneously have full control of
the directory except for an inability to access its contents other than by
moving it where everybody has access.

Do you know of a way that I might give myself access with another method
(perhaps by using the ACL)?

What you say is incorrect. Seizing ownership of a folder
does NOT involve dragging a folder into another folder.
I recommend you have another look. If you still think that
dragging is involved then please quote that phrase.
 
R

ralphs

Pegasus (MVP) said:
What you say is incorrect. Seizing ownership of a folder
does NOT involve dragging a folder into another folder.
I recommend you have another look. If you still think that
dragging is involved then please quote that phrase.

Yes, you are correct.

I was working from the command line and denied access there. When I went
into Windows Explorer I never looked at the right pane . Windows Explorer
does show the files in the CardSpace directory. Right clicking on CardSpace
and selecting Properties|Sharing gets this:

To share this folder with other users of this computer
only, drag it to the <ul>Shared Documents</ul> folder.

Clicking the underlined link gets to the directory I mentioned.

However from the command line it is not accessable as you can see below

C:\Documents and Settings\Ralph\Local Settings\Application Data\Microsoft>cd
cardspace
Access is denied.

C:\Documents and Settings\Ralph\Local Settings\Application Data\Microsoft>
 
R

ralphs

bw said:
What are the permissions for the user looking, and did Ralph make the
folder private?

I am Ralph. User is an Administrator and no specific permissions have ever
been given or removed on this machine. The folder has never been noticed
beflre let alone made private.
 
B

bw

ralphs said:
I am Ralph. User is an Administrator and no specific permissions have ever
been given or removed on this machine. The folder has never been noticed
beflre let alone made private.

How about attrib-rash CardSpace /S /D
 
P

Pegasus \(MVP\)

ralphs said:
Yes, you are correct.

I was working from the command line and denied access there. When I went
into Windows Explorer I never looked at the right pane . Windows Explorer
does show the files in the CardSpace directory. Right clicking on
CardSpace and selecting Properties|Sharing gets this:

To share this folder with other users of this computer
only, drag it to the <ul>Shared Documents</ul> folder.

Clicking the underlined link gets to the directory I mentioned.

However from the command line it is not accessable as you can see below

C:\Documents and Settings\Ralph\Local Settings\Application
Data\Microsoft>cd cardspace
Access is denied.

C:\Documents and Settings\Ralph\Local Settings\Application Data\Microsoft>

You still need to seize ownership of the "Cardspace" folder - there
is no way around this one.
 
W

windmap

Last time i saw some thing like Cardspace on my system is only when i
installed the Microsoft Dot NET framework 3.5.
 

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

Top