Permissions
Not sure if anyone else has these problems, but it's definately something that's scraping on my nerves. Permissions on Windows 7 seem to be really...well messed up.I mean, for all EXE files, I can't do anything to them but rename them. I don't have permission to delete them, to overwrite them or even to move them.This is especially a huge problem for me, since it always happens when i'm coding. I use Dev-C++ and everytime I run the compiled executable it becomes owned by 'system.' I can no longer compile unless I override the default EXE and change it to another name. Then I repeat this process each time I want to recompile.Also, in some folders, Permissions can go haywire. I'll be messing with things one minute and getting errors the next. It seems to be random and based completely on change but it can get annoying.Another thing I've noticed is that I'll get permission errors telling me I need to get permission from DCL/Cooper...This isn't really strange I guess, unless you take into account that I /AM/ DCL/Cooper. So..I need permission from myself to use my files?I had another problem with an external drive I had. For the longest time it would tell me that, upon double clicking it in computer, it didn't have access rights to it. However, I could point the explorer to <drive>/<path> and that would work. Even opening files from it worked. This was fixed by a defrag and checkdisk so it may have just been an error with the drive itself, but it sounds like a permission error.
March 25th, 2009 6:50pm

1. Logging on to the true administrator account may give you a bit more clout. Create a true Administrator by clicking the Windows Orb (Start), type cmd and press Enter. Now type net user Administrator /active:yes (not the quotes but the 3 spaces) and press Enter. Restart the computer and the Administrator account should show on the Welcome screen. Ensure you have at least one other user account otherwise you may lock yourself out. To disable the true account, retype the command but change yes to no. 2. Alternatively, have you tried putting everything, including your source and compiled code in the same folder and taking ownership at the highest level?
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2009 10:28pm

In response to 2, I have tried that, it doesn't work. In response to 1, this isn't something any user should have to do. I am an administrator so permissions should be set up in a way that I have enough power to change most things. There are some things that are left to the /true/ administrator account, however, those things do /not/ include deleting, overwriting or moving files of any kind, EXE or not.
March 25th, 2009 10:56pm

Your problem begs the question:Just where are you putting your stuff, that has Windows asking you for permission to do something with it?On a normal, day-to-day basis, you should have little (if any) direct interaction with any file that's located outside of your own user folder (C:\Users\yourname.) Even then there are some system-protected folders in there. Best way I can put it: What you see when you open the abovementioned folder (and, you have hidden & system files hidden, whcih they are by default) si where you should be keeping things.If you're not, then you're begging to have the issues that you've listed.-Chris[If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
Free Windows Admin Tool Kit Click here and download it now
March 26th, 2009 2:18am

The particular files I use to code are hosted on D:\, a partition on my HDD solely reserved for any and all coding I do. It's only 1 GB, but it does the trick. Also, the other files i'm referring to are within Users. It's not like i'm complaining that program files or system 32 has these problems( though I would, because they shouldn't, and I haven't had these problems there ). These are within a folder within my own C:\Users\<username>\ folder and they tell me that I need permission from myself to use them or they just flat out tell me that I can't modify them because I don't have permissions.
March 26th, 2009 4:26am

Your C++ complier is probably not using the correct permissions for Win7. You could try rightclicking the startup exe for the Dev-C++ compiler to 'run as administrator'Rating posts helps other users Mark L. Ferguson MS-MVP
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2009 5:46pm

No dice. I should add I have this problem with /any/ compiler, including Microsoft's own Visual c++ 2008 SP1 and Visual Basic 2008 SP1. I've even downloaded a pre-compiled form of GCC and tried invoking that directly and I still get the same errors. I never had this problem in Vista. I must say that if the Windows 7 form of expressing permissions has changed so much since Vista that files now mysteriously and randomly get owned by 'system' and become unusable/touchable until a restart, then there might be a problem. Just my two cents.
April 14th, 2009 12:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics