youwee icon indicating copy to clipboard operation
youwee copied to clipboard

Cannot access browser cookies despite Full Disk Access being enabled

Open lxsdevcode opened this issue 2 weeks ago • 3 comments

Environment:

  • macOS 27.2.1
  • Youwee 0.21.0
  • Chrome installed for testing Safari cookie issues

Tests performed:

  1. Enabled Full Disk Access for Youwee multiple times and restarted the application. The warning persists.
  2. Chrome cookie database exists at: ~/Library/Application Support/Google/Chrome/Default/Cookies
  3. Running yt-dlp directly from Terminal with Full Disk Access successfully extracts 58 Chrome cookies, decrypts them using macOS Keychain, recognizes the YouTube account and retrieves video formats.
  4. Youwee still reports: macOS privacy protection is blocking Youwee
  5. Safari also fails with: custom safari cookies database not found

Additional code-signing diagnostics:

  • Bundle ID: com.vanloctech.youwee
  • Signature identifier: youwee
  • TeamIdentifier: not set
  • Contents/_CodeSignature does not exist.
  • codesign --verify --deep --strict --verbose=2 returns: code has no resources but signature indicates they must be present
  • Verifying the main executable separately returns the same error.
  • xattr -l /Applications/Youwee.app returns no attributes.

Please investigate:

  1. Whether the macOS TCC Full Disk Access check correctly identifies the running Youwee application.
  2. Whether the Tauri application bundle is being signed or packaged incorrectly.
  3. Whether the yt-dlp child process inherits the required macOS privacy permissions.
  4. Why Youwee reports a Full Disk Access error when yt-dlp can successfully read the same Chrome database when launched from Terminal.

The issue appears to affect both Safari and Chrome cookie access, while standalone yt-dlp works correctly.

lxsdevcode avatar Nov 16 '26 18:11 lxsdevcode

Yes, this issue is due to macOS 27; I haven’t signed the application with an Apple Developer account because I lack the funds to do so.

Here is how to resolve it: go to Privacy settings -> Full Disk Access, click the minus (-) sign to remove Youwee, then click the plus (+) sign to add it back.

vanloctech avatar Nov 16 '26 18:11 vanloctech

Hi! Thanks for the Full Disk Access fix. Removing Youwee from Full Disk Access and adding it again solved the Chrome cookie issue. Chrome now works correctly.

However, Safari still doesn't work.

The error is:

ERROR: custom safari cookies database not found

I checked the command generated by Youwee, and it uses:

--cookies-from-browser safari:Default

I believe this is the remaining issue. Unlike Chrome, Safari does not use browser profile names in the same way. In yt-dlp, passing safari:Default makes it interpret Default as a custom cookies database file path, rather than using Safari's default cookie database locations.

The correct argument should be:

--cookies-from-browser safari

instead of:

--cookies-from-browser safari:Default

Chrome should continue using:

--cookies-from-browser chrome:Default

Could you please fix the Safari cookie source so that Youwee doesn't append :Default when Safari is selected?

Thanks!

lxsdevcode avatar Nov 16 '26 21:11 lxsdevcode

Ok, I will consider this problem

vanloctech avatar Nov 17 '26 07:11 vanloctech