Mac OS X: Where should I store common application data?

前端 未结 3 1245
一向
一向 2021-02-05 07:50

What\'s the standard path on MacOS X for storing application data that is to be shared by different users? I am not talking about temporary data, but data which is used by one p

3条回答
  •  生来不讨喜
    2021-02-05 08:44

    Some applications put files into the /Users/Shared-directory. I know it's the standard way to share files between users, but I'm not 100% sure it's thought for application data storage.

    The there's the /Library*-folder which is thought for systemwide common data, similiar to the /Users/Usernames/Library.

    But you certainly shouldn't write data to the Application.app-directory. Users without admin rights won't even have the right to write to these directories.

    * = Or /System/Library. Need to verify.
    

提交回复
热议问题