Daniel Lopez wrote that there is code in Bitrock for checking permissions.开发者_高级运维 I have looked in the knowledge Base, but couldn't find the necessary code. Anyone know? Also, what about code for changing privileges? Thanks in advance, Roger Mester
You want to look at the Apple documents for chmod command or the chmod system call.
(Note: I do not believe this questions belongs to Stack Overflow, please contact our support directly next time, we will be glad to help you there)
You can take a look at the changePermissions and changeOwnerAndGroup actions, they do what you require
精彩评论