msg2040
V2EX  ›  macOS

请问, macOS 有哪些目录不需要权限可以永久保存配置文件的

  •  
  •   msg2040 · Oct 11, 2020 · 2858 views
    This topic created in 2222 days ago, the information mentioned may be changed or developed.
    需求:
    配置文件,软件卸载重装后还在。 但保存配置文件的目录不需要权限。

    因为,申请权限总有用户点了拒绝后,又来抱怨不能用。恶心的一批
    11 replies  •  2020-10-20 22:38:25 +08:00
    holulu
    holulu
    Oct 11, 2020❤️1
    1
    用户目录啊,像 vscode 的配置就是存在 ~/.vscode
    DonaidTrump
    DonaidTrump
    Oct 11, 2020 via iPhone❤️1
    2
    ~
    Xusually
    Xusually
    Oct 11, 2020❤️1
    3
    ~
    Cuo
    Cuo
    Oct 11, 2020❤️1
    4
    ~/.config/
    msg2040
    msg2040
    OP
    Oct 11, 2020
    5
    @holulu 我擦,10.10 以前有用户报用户目录下创建失败(不是隐藏目录),我改成了放到 documents 。。
    holulu
    holulu
    Oct 11, 2020
    6
    @msg2040 以前的版本好像比较喜欢 ~/Library/
    icyalala
    icyalala
    Oct 11, 2020❤️1
    7
    ~/Library/Application Support/
    dingdangnao
    dingdangnao
    Oct 11, 2020 via iPhone❤️1
    8
    ~/Library/Application Support/ +1
    christin
    christin
    Oct 11, 2020 via iPhone
    9
    iCloud
    msg2040
    msg2040
    OP
    Oct 20, 2020 via iPhone
    10
    @icyalala 软件卸载就没了,比如 app zapper
    msg2040
    msg2040
    OP
    Oct 20, 2020 via iPhone
    11
    @dingdangnao 软件卸载就没了,比如 app zapper
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2295 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 12:34 · PVG 20:34 · LAX 04:34 · JFK 07:34
    ♥ Do have faith in what you're doing.