-
Notifications
You must be signed in to change notification settings - Fork 527
Failed to chmod(/data/xprivacy): libcore.io.ErrnoException: chmod failed: ENOENT (No such file or directory) #1437
Comments
Is this with the latest XPrivacy version? |
For some reason the folder /data/xprivacy could not be created.
|
Maybe the permissions of the top folder are the problem, so please post the output of:
Mine is like this:
Maybe some weird SELinux rule is causing this, so you might want to try with SELinux in permissive mode (there is an app in the Play store that can change this). |
|
Thanks for the outputs! The database (folder) is created by Zygote, so the security context of Zygote is what counts.
Could you please try this version, where I have moved the database to /data/system, which seems to be a better location anyway then a private folder: http://d-h.st/F12 |
This version seems to starts and run fine Maybe unrelated issue: in the fake data settings in the location field which defaults to "Christmas Island", I can input any location name (New York ; France ; Tokyo, Japan ; …) when I tap the search button, I get a toast saying "unknow" and logcat shows:
|
Thanks for reporting back! The next version will have the database in a sub folder of /data/system, so you need to move the databases manually when upgrading. The Geocoder message most probably means that there are parts of Google components are not installed / not running. |
Since I think it is not very clean to put the database files in /data/system between the other system files, I like to put the database files in the folder /data/system/xprivacy. Since you had problems with creating folders, I like you to try this version: http://d-h.st/3KF, which will attempt to make the sub folder in /data/system. Please note that the old databases will not be moved, so you might want to move them after the test. Could you please test if this works? |
Doesn't work (SELinux set in permissive mode with SELinuxModeChanger)
|
Could you please try if this version can create the folder: It is unfortunate that I cannot reproduce this issue myself. |
OK, folder and db are created and the app starts fine with SELinux in enforcing mode:
I see some warnings in the log, but maybe it's just because I do not have the gapps:
|
Thanks for reporting back! |
I installed XPrivacy on my HTC One X running KitKat / CM 11 with NOGAPPS ( http://forum.xda-developers.com/showthread.php?t=1715375 ). After activation & reboot, when I launch XPrivacy, the app shows up for a few seconds and then turns all black.
/data/xprivacy
doesn't exist, and creating it manually doesn't solve the issue at all.XPrivacy version 1.99.53.
CyanogenMod-11-20140220-NIGHTLY-endeavoru (Android 4.4.2)
logcat
The text was updated successfully, but these errors were encountered: