Re: fopen
Re: fopen
- Subject: Re: fopen
- From: Chris Espinosa <email@hidden>
- Date: Thu, 30 Jun 2005 10:58:21 -0700
On Jun 30, 2005, at 10:38 AM, Carl Smith wrote: I have been running some code, via my xcode project for some time now. The other day I had problems with my user account, another story, so I created a new admin user account. I put my xcode project into my new users/me folder and opened the xcode from the new location.
My problem is I have an FILE *fp = fopen(m_szfilepathandname, “wb”) line that was working before. Now it fails, fp = NULL, and the folder is not created, on my hard drive, as it was before. It is like I do not have permissions to create this folder, but before I did.
Is there some way to force fopen to work, because I need to work on what every machine I install this app on. Maybe there is another way I should be creating this new folder/path?
Check the permissions on the parent folder. If you just drag-copied it from one user account to another, the enclosing folder is probably still owned by your previous user account, and may not afford privileges to the new user account to create files in it.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >fopen (From: "Carl Smith" <email@hidden>) |