Hi All,
I have one installer created using Packagemaker. The installer writes some files to /Library/Preferences folder using writeToFile method of NSData class.
The installer used to create files successfully on Leopard and Snow Leopard when login with admin user. But in Lion 10.7 there are problems in writing files to Preferences folder. I found that earlier admin used to be the default group to /Library/Preferences directory. But with Lion it has been changed to Wheel group.
We can add admin group to Sharing and Permissions using Get Info Dialog for Preferences folder. I need some suggestion for getting this done either Problematically using Cocoa or Bash script?
Would be better if we can add a group to the permissions of a directory through Cocoa?
Thank you
I have one installer created using Packagemaker. The installer writes some files to /Library/Preferences folder using writeToFile method of NSData class.
The installer used to create files successfully on Leopard and Snow Leopard when login with admin user. But in Lion 10.7 there are problems in writing files to Preferences folder. I found that earlier admin used to be the default group to /Library/Preferences directory. But with Lion it has been changed to Wheel group.
We can add admin group to Sharing and Permissions using Get Info Dialog for Preferences folder. I need some suggestion for getting this done either Problematically using Cocoa or Bash script?
Would be better if we can add a group to the permissions of a directory through Cocoa?
Thank you