V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dzdh
V2EX  ›  macOS

应用可访问文件夹的权限控制在哪里

  •  
  •   dzdh · Nov 8, 2023 · 1218 views
    This topic created in 909 days ago, the information mentioned may be changed or developed.

    装了个 iBar ,提示要授权 ~/Library 目录。

    同意了,然后在 系统设置->隐私安全性->文件和文件夹 里没发现这个 iBar 。

    真对指定路径的访问授权,在哪里看(控制)?

    ItzhacLea
        1
    ItzhacLea  
       Nov 11, 2023
    应用通过 NSOpenPanel 打开文件/文件夹时也会授予其访问权限,保存在扩展属性 com.apple.macl 里。

    通过 ls -l@ [file_path] 可以查看对应文件/文件夹是否有该扩展属性。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2666 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 11:56 · PVG 19:56 · LAX 04:56 · JFK 07:56
    ♥ Do have faith in what you're doing.