Bug 232940

Summary: [macOS] Unable to build WebKit with multiple users in the same machine, webpushd uses /tmp/WebKit.dst
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: Tools / TestsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, beidson, mitz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=132053
Attachments:
Description Flags
Patch none

Description Sergio Villar Senin 2021-11-10 04:40:00 PST
This is the error I get

plutil -convert binary1 -o /tmp/WebKit.dst/System/Library/LaunchDaemons/com.apple.webkit.webpushd.plist /Users/svillar/WebKit/Source/WebKit/webpushd/com.apple.webkit.webpushd.plist
/tmp/WebKit.dst/System/Library/LaunchDaemons/com.apple.webkit.webpushd.plist: Permission denied

** BUILD FAILED **

A collegue of mine owns the files the build is trying to access to in the /tmp directory. As I don't have enough permissions to write it the build fails.
Comment 1 Radar WebKit Bug Importer 2021-11-10 08:44:08 PST
<rdar://problem/85255677>
Comment 2 Alexey Proskuryakov 2021-11-10 08:48:32 PST
Without actually looking into what creates this file, I expect that the fix will be similar to that in bug 132053.
Comment 3 Alex Christensen 2021-11-10 08:50:40 PST
Created attachment 443822 [details]
Patch
Comment 4 Alex Christensen 2021-11-10 08:50:58 PST
Sergio, could you verify this fixes your issue?
Comment 5 EWS 2021-11-10 09:41:56 PST
Committed r285585 (244093@main): <https://commits.webkit.org/244093@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 443822 [details].