Bug 232940 - [macOS] Unable to build WebKit with multiple users in the same machine, webpushd uses /tmp/WebKit.dst
Summary: [macOS] Unable to build WebKit with multiple users in the same machine, webpu...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
Keywords: InRadar
Depends on:
Reported: 2021-11-10 04:40 PST by Sergio Villar Senin
Modified: 2021-11-10 09:41 PST (History)
5 users (show)

See Also:

Patch (2.64 KB, patch)
2021-11-10 08:50 PST, Alex Christensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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


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
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]
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].