macOS 27: Permission denied to directory in launchd agent but works in command line

I have this launchd agent to start up the app copyparty. When I try to access my Downloads folder in copyparty (http://localhost:3923/), In my copyparty.log file it says [PermissionError] [Errno 1] Operation not permitted: b'/Users/user/Downloads', '/Downloads'". It didn't work when I changed the agent into a daemon. When I run the command in the terminal, I can access the Downloads folder just fine: copyparty -v /Users/user::A --see-dots -lo /Users/user/Library/Logs/copyparty.log.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>KeepAlive</key>
	<true/>
	<key>Label</key>
	<string>org.nixos.copyparty</string>
	<key>ProgramArguments</key>
	<array>
		<string>/bin/sh</string>
		<string>-c</string>
		<string>/bin/wait4path /nix/store && exec /nix/store/wn59rkhzxx1qj1h9sn5950fbdkxqn6qd-copyparty-most-1.20.24/bin/copyparty -v /Users/user::A --see-dots -lo /Users/user/Library/Logs/copyparty.log</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
	<key>StandardErrorPath</key>
	<string>/Users/user/Library/Logs/copyparty.error.log</string>
</dict>
</plist>
reddit.com
u/TheTwelveYearOld — 4 days ago
▲ 1 r/Lenovo

Monitor connected to Thinkpad via USB-C sometimes has static

When connecting to my thinkpad X1 carbon gen 13 to my monitor (4k 240hz) via USB-C, there are varying amounts of static that flicker on the screen, sometimes a lot sometimes a little or none. The same cable and monitor doesn't have issues with my mac mini or a non thinkpad laptop (both can do 4k 240hz). I'm running linux (nixos).

reddit.com
u/TheTwelveYearOld — 15 days ago
▲ 2 r/learntyping+1 crossposts

How to start learning stenographic typing?

I looked it up but don't know which sites or things to look at. Ideally I want basically an equivalent of typingclub: a bunch of individual lessons / modules: not just a bunch of drills but also memorizing the key layout. I want to do it mainly to type much faster than 100wpm, I installed plover on my pc and looked at the layout on my qwerty keyboard.

u/TheTwelveYearOld — 19 days ago

Color management / showing P3 color in Parallels?

I installed an Ubuntu VM in parallels, and set the color profile in it to Display P3.icc downloaded from here. On chrome in the VM, the colors didn't show properly on this test page. the colors are shown correctly in chrome-based browsers on macOS.

reddit.com
u/TheTwelveYearOld — 1 month ago

Making parallels tools work for mac VM?

I'm trying to get a nixos vm running well on macOS with parallels. I installed nixos with the GUI installer in the ARM ISO, added hardware.parallels.enable = true to my config, and rebooted. prlcc (a parallels tools process) is running but I can't dynamically resize the window (or resize it at all for that matter).

u/TheTwelveYearOld — 1 month ago

Alternatives to Sunshine & Moonlight for high quality remote desktops?

I hate using one monitor each for linux and macOS, I tried Sunshine to stream my mac to linux (since I use linux more), setting 4k 240hz (which my monitor supports) and full color (yuv 444) in Moonlight but it said that 444 color is not supported, and the colors look way off compared to macOS plugged directly in the monitor. There doesn't seem to be a way to make it work on Sunshine.

reddit.com
u/TheTwelveYearOld — 1 month ago

Alternatives to Sunshine & Moonlight for high quality remote desktops?

I hate using one monitor each for linux and macOS, I tried Sunshine to stream my mac to linux (since I use linux more), setting 4k 240hz (which my monitor supports) and full color (yuv 444) in Moonlight but it said that 444 color is not supported, and the colors look way off compared to macOS plugged directly in the monitor. There doesn't seem to be a way to make it work on Sunshine.

reddit.com
u/TheTwelveYearOld — 1 month ago

Quickly switching between mac and linux on one monitor?

I want to switch between apps on my mac (Pixelmator Pro is mac only) and my linux PC instantly on my single 4k 240hz monitor. I want the switching to be instant (no noticeable delay between switching between one device to another) and I don't want resolution nor refresh rate compromised (I don't mind slight latency compromises). These are the options I looked at:

  • remote desktop software: 4k 240hz requires too much bandwidth and gets compromised over network connection speeds, not to mention high latency.
  • KVM switch hardware: I tried a few different ones and returned all of them, due to delays for switching devices. My screen would be black for up to a few seconds (same with just switching the inputs on the monitor itself).
    • I currently use a cheap one from ebay with DDM, which lets me switch my mice and keyboards instantly (it only switches USB HID devices instantly due to how it works).
  • Virtual machines: I would run a linux VM in a mac but macOS has its own hotkeys, and the menu bar shows when you move the cursor to the top, among other ways you notice the host OS. I use Linux much more.

Any other ideas? I'm currently using two monitors, one for each device but I don't like turning my head from one monitor to another.

reddit.com
u/TheTwelveYearOld — 1 month ago

Please be mindful of reddit policy: don't interfere with other subreddits

Rule 3: Respect Your Neighbors

While we allow meta discussions about Reddit, including other subreddits, your community should not be used to direct, coordinate, or encourage interference in other communities and/or to target redditors for harassment. As a moderator, you cannot interfere with or disrupt Reddit communities, nor can you facilitate, encourage, coordinate, or enable members of your community to do this.

Interference includes:

  • Mentioning other communities, and/or content or users in those communities, with the effect of inciting targeted harassment or abuse.
  • Enabling or encouraging users to violate our Reddit Rules anywhere on the Reddit platform.
  • Enabling or encouraging users in your community to post or repost content in other communities that is expressly against their rules.
  • Enabling or encouraging content that showcases when users are banned or actioned in other communities, with the intent to incite a negative reaction.
redditinc.com
u/TheTwelveYearOld — 1 month ago
▲ 7 r/Volumeeating+1 crossposts

Recipe request: nissin hot and spicy chicken

I'd like a recipe that replicates its flavor, ideally without soup or maybe a sir fry. It tastes addicting in a way that not even other instant ramens do, let alone other foods.

u/TheTwelveYearOld — 1 month ago
▲ 1 r/NixOS

Nix-darwin: ln: failed to create symbolic link '~/Library/Application Support/Firefox/Profiles/o9fiaukr.profile/user.js': Operation not permitted

This is the error I have when trying to rebuild my nix darwin configuration. I use kitty terminal, and in macOS settings I gave it full disk access and access to update other apps (app management).

  0: Darwin activation failed
   1: Activating configuration (exit status ExitStatus(Exited(1)))
      stderr:
      [a bunch of lines ommitted]
      Activating installPackages
      Activating linkGeneration
      Cleaning up orphan links from /Users/user
      Creating home file links in /Users/user
      ln: failed to create symbolic link '/Users/user/Library/Application Support/Firefox/Profiles/o9fiaukr.2nd Profile/user.js': Operation not permitted
      ln: failed to create symbolic link '/Users/user/Library/Application Support/Firefox/Profiles/o9fiaukr.2nd Profile/.keep': Operation not permitted

I use the same home.nix for both NixOS and Nix Darwin.

        programs.firefox = {
          enable = true;
          profiles = {
            default = {
              id = 0;
              name = "Default";
              isDefault = true;
              path = firefox-profile;
            };
            secondary = {
              id = 1;
              name = "Secondary";
              path = "o9fiaukr.2nd Profile";
            };
          };
        };
reddit.com
u/TheTwelveYearOld — 1 month ago
▲ 133 r/cultofCassie+1 crossposts

U/pccatmage72 used an alt to give hate speech, resulting in his reddit account receiving a suspension / permanent ban

TLDR: You don't need to read everything below, the pictures and captions summarize it.

If you wanna see for yourself: https://www.reddit.com/user/pccatmage72/

While its still currently allowed, please refrain from making posts asking or discussing drama, and instead make comments below, thank you.

I'm not going to explain everything that has happened up until now, I'll keep this brief: u/pccatmage72 was a highly active user on r/blocktales but constantly pushed the limits and broke rules. We the mod team, needed to remove dozens of his posts, eventually we needed to give him a 2 week ban late last month. Despite that we didn't see any improvements in his behavior whatsoever.

Needless to say, we were speechless when we saw: On Sunday August 23rd, u/pccatmage72 used an alt account to reply to a user that blocked his main account, and then bragged out it in a Discord server, one where he is completely aware that some of our mods regularly look at (pictures #1 & #2). We promptly permabanned the alt, and waited 24 hours for a poll in our mod chat for how long his main account should be banned (picture #3).

In the mean time, all of his posts were caught by Reddit's ban evasion (picture #4), confirming that the account we permabanned was in fact his alt: the filter didn't trigger before the alt was banned, and that was the only account banned between then and when he got caught by the filter. After the poll, I banned his account for 30 days. u/pccatmage72 then confessed and tried justifying it in modmail try (pictures #6 - 11), we were quite annoyed by the spam so we muted him (I needed to show the other mods how to mute users, something that mods should never have to do but must sometimes). We were expecting to see him again in 30 days, however only hours later, u/pccatmage72's account got suspended (the term Reddit sometimes uses to refer to sitewide permabans they give). The picture (#5) shared by u/pccatmage72 on Discord says it was due to ban evasion, but we (including the mod team) do not know the whole process used at Reddit for this decision.

We are all saddened by the loss, u/pccatmage72 was deeply passionate about this subreddit as well as Blocktales and Cassie, and genuinely boosted activity and morale in the community. however, hate speech is never tolerated here, or anywhere on Reddit. Using an alt account & knowing that his main account was blocked by a user: he insulted their sexual orientation.

I've already linked Reddit rules multiple times here before, but apparently I need to do so again, If you must then please read all of them in the sidebar of the linked page:

>https://support.reddithelp.com/hc/en-us/articles/360043504811-What-is-ban-evasion
Ban evasion usually refers to a redditor being banned from a community, then using an alternative Reddit account to continue participating in that community.
Ban evasion can also refer to a community being created or repurposed to reconstitute or serve the same objective as a previously banned community. This will be addressed directly by the site admins and does not require a moderator report.
Both are a violation of the Reddit Rules and could result in a sitewide suspension. 
Community ban evasion: It's up to community moderators to decide who participates in their community, so even if you disagree with the reason for your ban you shouldn't attempt to evade it. Some moderators may be okay with a redditor returning to their community on another account so long as they participate in good faith, as such we only review ban evasion reports when they are reported by the community moderators.
The redditor must be banned from the community in question for us to consider them as evading their ban, we will not consider automoderator shadow bans as community bans.
To report ban evasion, please visit this page.

u/Relative_Estate6828 — 2 months ago

What are the worst distro-specific problems you have faced?

More specifically, issues for one distro (or maybe family of distros if applicable) and not other distros.

I'll start: NixOS. I love how I can have my whole operating system configuration defined deterministically with configuration files, but what I believe is a serious flaw, is when you choose the "unstable" channel, the channel for receiving the latest packages rather than ones up to 6 months old: stable. Unstable package often build dependencies on device, and I've often faced build failures, why are new package versions given if they fail to build?!

Why can't Nixpkgs backend ensure that new package versions build successfully before shipping them to end users?! It would take a lot of work to do so, but I can't think of any other distros that have this problem: where installing a new package version that came out a few days or even a week ago, has a chance of failing after its made available in the distro's official package manager.

There are a handful of workarounds for your NixOS configuration in this case, but it happens too often for me and I shouldn't have to edit my config for to work around it.

reddit.com
u/TheTwelveYearOld — 2 months ago
▲ 40 r/linuxsucks+1 crossposts

What are the worst distro-specific problems you have faced?

More specifically, issues for one distro (or maybe family of distros if applicable) and not other distros.

I'll start: NixOS. I love how I can have my whole operating system configuration defined deterministically with configuration files, but what I believe is a serious flaw, is when you choose the "unstable" channel, the channel for receiving the latest packages rather than ones up to 6 months old: stable. Unstable package often build dependencies on device, and I've often faced build failures, why are new package versions given if they fail to build?!

Why can't Nixpkgs backend ensure that new package versions build successfully before shipping them to end users?! It would take a lot of work to do so, but I can't think of any other distros that have this problem: where installing a new package version that came out a few days or even a week ago, has a chance of failing after its made available in the distro's official package manager.

There are a handful of workarounds for your NixOS configuration in this case, but it happens too often for me and I shouldn't have to edit my config for to work around it.

reddit.com
u/TheTwelveYearOld — 2 months ago