• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: fopen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fopen


  • Subject: Re: fopen
  • From: Don Krause <email@hidden>
  • Date: Thu, 30 Jun 2005 15:08:10 -0700

On Thursday 30 June 2005 14:13, Carl Smith wrote:
> Checking my permissions I see that I, the current user, for the folder
> that the copied Xcode application is in, is drwx------, while the copied
> folders have permissions set at, drwxr-xr-x.
>
> So would my current permissions have to match the copied folders
> permissions? I would think that the copied folders had higher permission
> so the fopen would work anyway.
>
> Going on to answer everyone else who is helping.
>
> The return 'errno' from fopen is ENOENT. But as I said this was working
> before I signed on as a new user. The fopen used a string, i.e.,
> "otr/mynewfolder/myfile.db" and would create the directory tree along
> with the empty file 'myfile.db'. As stated in 'man fopen' ".. The file
> is created if it does not exist, ..."

But fopen will NOT create missing directories, at least not on any unix box
I've seen....

--
Don Krause                                          ph: 909.799.8327
Systems Administrator                             page: 909.512.0174
Optivus Technology, Inc                  e-mail: email@hidden
"This message represents the official view of the voices in my head"
 _______________________________________________
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: 
 >RE: fopen (From: "Carl Smith" <email@hidden>)

  • Prev by Date: RE: fopen
  • Next by Date: Re: xcconfig files and ZeroLink
  • Previous by thread: RE: fopen
  • Next by thread: RE: fopen
  • Index(es):
    • Date
    • Thread