stevehiner
03-10-2008, 04:56 PM
Over the weekend I batch processed a couple files on my Vista Home Basic machine. I found out last night that the target files have incorrect file permissions set.
Specifically, I can't delete the files. I'm logged in as an admin level account. I approved the delete when prompted by UAC but it told me it didn't have permission and to try again. Then I opened Windows Explorer with explicit Admin rights and I still can't delete the files. I tried forcing all files in that folder to be updated to inherit permissions from the containing folder and it worked fine until it got to those two files where I was informed that I didn't have the rights to change their permissions.
The other files in that folder can be deleted without even getting the UAC prompt. The source files I edited to create those files can be deleted without getting a UAC prompt. It appears that the files have some strange permissions set.
I have not yet tried loggin in as the true machine admin to find out what it will do. At this point I'd rather find out what went wrong so it can be changed in a future version of VRD.
I will try to do some testing tonight. I should be able to pull the ACLs off of some files on that system (the original source files were already deleted) and pull the ACLs from those files to find out what is different.
I would think the destination file should be set to be at least as permissive as the source file. I could see how you might not want to give them identical permissions since a user might be allowed to edit a file for which they have read-only access. You wouldn't want them to have read-only access to the target file. Alternatively, the target file should inherit it's permissions from the containing folder. Overall that might be the easiest and safest way to go anyway.
What do you think?
Specifically, I can't delete the files. I'm logged in as an admin level account. I approved the delete when prompted by UAC but it told me it didn't have permission and to try again. Then I opened Windows Explorer with explicit Admin rights and I still can't delete the files. I tried forcing all files in that folder to be updated to inherit permissions from the containing folder and it worked fine until it got to those two files where I was informed that I didn't have the rights to change their permissions.
The other files in that folder can be deleted without even getting the UAC prompt. The source files I edited to create those files can be deleted without getting a UAC prompt. It appears that the files have some strange permissions set.
I have not yet tried loggin in as the true machine admin to find out what it will do. At this point I'd rather find out what went wrong so it can be changed in a future version of VRD.
I will try to do some testing tonight. I should be able to pull the ACLs off of some files on that system (the original source files were already deleted) and pull the ACLs from those files to find out what is different.
I would think the destination file should be set to be at least as permissive as the source file. I could see how you might not want to give them identical permissions since a user might be allowed to edit a file for which they have read-only access. You wouldn't want them to have read-only access to the target file. Alternatively, the target file should inherit it's permissions from the containing folder. Overall that might be the easiest and safest way to go anyway.
What do you think?