Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Problem Changing Permissions of Folders and Files; e.g. read, write

04 Apr 2012   #1
JimO

32 bit Windows 7
 
 
Problem Changing Permissions of Folders and Files; e.g. read, write

On Windows 7 we have UAC which I have set to notify me only if others want to make changes to reduce the popups.

I am the only user, the administrator, logged in as such and yet changes that I make to folder and file permissions do not "stick." Changes are apparently made but they default back to Read Only for example even when I uncheck the block.

There seems to be a whole lot of paranoia regarding security of the system which really prohibits me from taking full advantage of the PC. I have sold legacy programs on my systems and when I attempt to change the file (.exe file) properties I am prohibited. The error message cites a .pif file is missing or otherwise in use!


My System SpecsSystem Spec
.
04 Apr 2012   #2
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Which files and folders are causing you grief?
My System SpecsSystem Spec
04 Apr 2012   #3
JimO

32 bit Windows 7
 
 

Kegobeer,

The file is an .exe file which I compiled with Fortran and installed using Installshield. I run fine with XP. I amruning in compatibility mode. The program writes to new files created in the same folder.

The .exe file is in a subfolder called HTRF75 created by Installshield.

The folder is called HtrfSoftware also created by installshield.

The HTRFSoftware folded is located in C:/Program Files

The Installshield installer was created on a 32 bit system and the compiler is a 32 bit Fortran compiler. My Windows 7 system has a 32 bit operating system.

If I run the program without XP compatibility the output files are placed in a separate compatibility folder within HTRF75. This can be avoided I run the program in with XP compatability.

I understand that folders within Program Files probably inherit their properties from the Program Files folder. However, as the administrator I should be able to override the inherited properties, at least this is logical to me.
My System SpecsSystem Spec
.

05 Apr 2012   #4
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by JimO View Post
The file is an .exe file which I compiled with Fortran and installed using Installshield. I run fine with XP. I amruning in compatibility mode. The program writes to new files created in the same folder.
That is the problem it is trying to write to a protected directory when it should NOT. There is a User directory and User AppData directory for this very reason. Also directories have no "readonly" attribute, the checkbox in properties will all be filled out with directories.
My System SpecsSystem Spec
Reply

 Problem Changing Permissions of Folders and Files; e.g. read, write




Thread Tools




Similar help and support threads
Thread Forum
How to restrict user write/read permissions for a specific directory
How do I enforce a standard user such that he/she can create files/folders within a specific directory (e.g., Desktop directory)? Any write access to the other directories should be denied.
General Discussion
Cannot change read-only, permissions or ownership of files
Hiya Was playing a game recently and wanted to mod it. Found I didn't have permission to save changes to a notepad document. Checked if it was read only and it was, so I went to the game folder and unchecked the read only box in properties. It asked for permission, I gave it, spent a few seconds...
General Discussion
Can I lift permissions and write to Program Files via Homegroup?
I have my 2 PC's networked in a Homegroup. 1 is running Win 7 Home Premium 64, the other Win 7 Ultimate 32. I want to write to the Program Files folder on the 32 bit system from the Program Files (x86) folder on the 64 bit system. All other read/write operations between these 2 systems are...
Network & Sharing
set read-only permissions for folders and files
I have an image of my the hard drive from my XP system on an external drive. I'd like to copy the entire file structure to the windows 7 hard drive, retaining the folder structure. Then I'd like to set all the folders, sub-folders, and files to read-only to protect myself from accidentally...
General Discussion
Changing read only settings on folders
Hi all, I am new to Windows 7 and am having a problem with my setup. My computer is used as a CAD station and connected to it is a 1 TB external (USB) drive with all my CAD files on it. For some reason the folder that has all these files in it is set to read only (F:\NEW) When I uncheck...
General Discussion
Read-only files in My games?why can't I get read-write permission
I've installed fallout but can't get it to run,seemingly because my DOCUMENTS library won't turn off read-only status for My games (or anything else). I've run through ownerships+permissions as best I can but I can't get rid of read-only,which seems VERY odd for a documents folder ;Can anyone...
Gaming


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App