sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

`packet-tunnel` does not have read permission to iCloud profile

Open ladit opened this issue 1 year ago • 6 comments

Operating system

macOS

System version

14.2

Installation type

sing-box for macOS Graphical Client

If you are using a graphical client, please provide the version of the client.

1.8.2

Version

No response

Description

see reproduction below.

Reproduction

  • create a test profile in SFM which type is iCloud and path is test.json
  • start with the profile
  • SFM complains (packet-tunnel) error: read config file test.json: The file “test.json” couldn’t be opened because you don’t have permission to view it.

Logs

(packet-tunnel) log server started

(packet-tunnel)error: read config file test.json: The file "test.json" couldn't be opened because you don't have permission to view it.

(packet-tunnel)stopping, reason: NEProviderStopReason (rawValue: 1)

Integrity requirements

  • [X] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • [X] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • [X] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • [X] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

ladit avatar Jan 22 '24 08:01 ladit

Can’t reproduce

nekohasekai avatar Feb 02 '24 03:02 nekohasekai

I replaced brew version with App Store version. The iCloud profile works. It may be a problem with brew version.

ladit avatar Feb 02 '24 09:02 ladit

Confirming the same for brew version. The App Store one is okay. To whom it may concern, I've found this stackoverflow thread regarding the issue:

https://stackoverflow.com/questions/49054485/file-couldn-t-be-opened-because-you-don-t-have-permission-to-view-it-error

stllfe avatar Feb 19 '24 12:02 stllfe

Encountered the same issue. macOS 14.4 SFM-1.9.0-beta.17 The TestFlight version works fine, but when switching to the Github SFM version, this error occurs.

lanhailin avatar Mar 19 '24 11:03 lanhailin

yes, the version of brew will occurs,the version of appstore won't.

mxin99 avatar May 03 '24 16:05 mxin99

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jul 03 '24 01:07 github-actions[bot]