I've been trying this since few days to access / remove some files under
- /Users/$name/Library/Safari/Bookmarks.plist
- /Users/$name/Library/Safari/History.db
- /Users/$name/Library/Safari/LastSession.plist
- /Users/$name/Library/Safari/TopSites.plist
So when i'm trying to remove or delete these files from command line ( after adding terminal.app in FDA ) . These files are getting deleted properly but when i'm trying to delete these files while loading a service plist somewhat like this
launchctl load /Library/LaunchDaemons/someFile.plist for my application it's getting failed there.
- I have tried adding my application & binary in FDA ,even after that it's getting failed.
- I have given all root privilege to my plist & application while running the binary but didn't get success.
- I have tried giving chmod permission & removing extended attributes for these files unfortunately didn't get something from there also.
In all cases, It's returning error 1 (EPERM, "Operation not permitted").
- I don't know if it's some unexpected behaviour of mojave ?
- I can't disable SIP for system protection , i guess this is due to protection policy ... not so sure ?
- is there any way i can come over this ?
- Any leads will be highly appreciated.