• 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: Indexing broken for one project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indexing broken for one project


  • Subject: Re: Indexing broken for one project
  • From: Alex Zavatone via Cocoa-dev <email@hidden>
  • Date: Mon, 14 Feb 2022 14:06:55 -0600

In my work MacBook on Monterey 12.1, /private is read only, but /tmp still is
writeable.  I just create a folder there as a test.

That aside, if there’s anything I’ve learned in the week or two since I’ve been
using Xcode, it’s “don’t do what it doesn’t expect you to do”.  That includes
to using the default location for derived data, which is
~/Library/Developer/Xcode/DerivedData.

Just my wild assed guess & inclination.

Cheers,
Alex Zavatone


> On Feb 14, 2022, at 7:29 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
>
>>
>> In Monterey, /tmp is now only writeable by root.
>
> It is?
> I have been storing temp files in /tmp all my life (output from all kinds of
> programs), and did not notice a change when upgrading to Monterey.
>
> /Users/zach% cd /tmp
> /private/tmp% ls -ld .
> drwxrwxrwt  17 root  wheel  544 Feb 14 12:00 ./
>
> /private/tmp% ll
> total 164008
> drwxr-xr-x@ 7 zach  wheel   224B Feb 14 14:19
> ArtSaver-hcwtwqkubldekzfijehvpaeowamp/
> drwxr-xr-x  3 zach  wheel    96B Feb 13 23:02 Build/
> drwxr-xr-x  5 zach  wheel   160B Feb 13 23:02 ModuleCache.noindex/
> drwxr-xr-x  3 zach  wheel    96B Feb 13 21:59 SymbolCache.noindex/
> drwxr-xr-x  3 zach  wheel    96B Feb 13 21:59 XCBuildData/
> [...]
>
>
> Maybe, the sticky bit is new as of Monterey?
> (which would make sense, of course, but maybe it was there all the time,
> which it should.)
> Even so, a reboot should have cleared up any permission problems in any case,
> since a reboot deletes all files in /tmp anyways.
>
> So, I'm still a bit in the dark as to why it now works.
> Oh well ...
>
>
>> It is quite possible that Xcode couldn?t write there for the indexing.
>
> It looks like it, but I can't see why ....
>
>
> Best regards, Gabriel
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Indexing broken for one project (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Indexing broken for one project
  • Next by Date: (Reminder)How do Practitioners Approach towards Requirements Engineering?
  • Previous by thread: Re: Indexing broken for one project
  • Next by thread: (Reminder)How do Practitioners Approach towards Requirements Engineering?
  • Index(es):
    • Date
    • Thread