Avatar of 10Pints
10Pints

asked on 

Win 7 and directory permissions

Hi I am compiling using VS 2008 C++ on Windows 7 for the first time and get the folowing error:
fatal error C1083: Cannot open include file: 'd:\data\dev\cms\3.0.0.0\code\word\src': Permission denied
At the end of a cpp file - last line - no code.
I check this out and see that it is possibly because src is a directory but it is not read only
In Win explorer the read only  properties for the directory(and children) is blue - which I presume means that it or a child file/dir is readonly, so I clear it, it asks if I want to apply to folder and sub folder - I go OK
Apply, close
But whin I go back in the read only status is blue again and the complie fails ... ???
Same happens in XP

Anybody help?
1>------ Build started: Project: Word, Configuration: Debug Win32 ------
1>Compiling...
1>Word.cpp
1>d:\data\dev\cms\3.0.0.0\code\word\src\word.cpp(220) : fatal error C1083: Cannot open include file: 'd:\data\dev\cms\3.0.0.0\code\word\src': Permission denied

Open in new window

Editors IDEsVisual C++.NETWindows 7Microsoft Development

Avatar of undefined
Last Comment
10Pints

8/22/2022 - Mon