Menu

#2 ~/k5nCal not appropriate (world-readable) on Mac OS

open
None
5
2007-11-10
2007-11-04
No

By default, on Mac OS X, all users' home directories are world-readable.

By default, access restrictions apply to subdirectories such as

~/Desktop
~/Documents
~/Library

As
~/k5nCal
is created by k5n Desktop Calendar, it's world-readable.

A more appropriate path should be:
~/Library/Application Support/k5nCal

---

Below, for reference, selections from my own home directory listing:

[grahamperrin:~] gjp22% ls -al ~
total 20464
drwxr-xr-x 197 gjp22 staff 6698 Nov 4 19:36 .
drwxrwxr-t 10 root admin 340 Nov 2 13:20 ..

drwx------ 120 gjp22 staff 4080 Nov 2 17:07 Library

drwxr-xr-x 4 gjp22 staff 136 Nov 4 19:37 k5nCal

Discussion

  • Craig Knudsen

    Craig Knudsen - 2007-11-10

    Logged In: YES
    user_id=14386
    Originator: NO

    Good suggestion. I use a java call for getting the user's home directory, which should work across platforms. However, I can see for Mac OS X it would make more sense to put it where you've suggested.

     
  • Craig Knudsen

    Craig Knudsen - 2007-11-10
    • assigned_to: nobody --> cknudsen
     
  • Craig Knudsen

    Craig Knudsen - 2007-12-24

    Logged In: YES
    user_id=14386
    Originator: NO

    Since this doesn't prevent usage, I'm changing this to a feature request.

     

Log in to post a comment.