Question related to Android file permission - General Questions and Answers

I used ES File Manager to edit a .ini file in data/data/org.gaeproxy (a proxy app) and then changed its permission from rw-rw-rw- to r--r--r-- after saving it.
After I opened the app, I checked the property of the .ini file using ES File Manager and was shocked to find the Last Modified field was updated to the right moment when I opened the app. And the editing I made to the file was gone. It seemed to me that the app had overrided the read-only permission of the file and edited its content.
But then I supprisingly found that I was able to modify the same file and save the change while it's still read-only. How is this even possible?
Both ES File Manager and the .ini file have been granted superuser permissions. Is this a possible cause? I've found this annoying problem across different devices and different ROMs. So I think there might be something I need to know about the file permission system in Android.
How can I make this .ini file truly read-only even to the app using it?

Related

Questions regarding file permisions

My device is Samsung Galaxy Tab 10.1. I've tried Task ROM and now the AOKP ROM on it. I found the same problem on both ROMs.
What I have been trying to do was changing the permissions of a .ini and a .sh file in /data/data/some app folder/ after I modified the files. I used ES File Explorer to change the permisions of those two files from rw-rw-rw- to r--r--r--. But after making the change, I found myself still able to edit them and save the changes. How can this happen? Am I doing anything wrong?

[Q] Issue editing build.prop

I recently rooted my Inspire and loaded CM7.2 RC1 and I was just trying to increase my download speeds by editing the build.prop file. I'm using explorer v1.1 to get to the system folder and then editing the build.prop file using the text editor. When in explorer it says r/w and I can actually edit the file and save it but it never seems to actually save the changes even though it says it did. I tried using mount/system(rw/ro) to ensure that it was actually mounted but I am getting the same result. Any suggestions would be appreciated!
ES file explorer
Hi, I use the es file explorer, when you open it up hit "menu" scroll to bottom and make sure both root settings boxes are checked, then restart app. You should be good to go.
I recommend ROM Toolbox. It has a root file explorer and many other tools which come in handy on a rooted phone.

System "semi" Writable?

I recently Wiped my Phone completely and decided to Re-Flash Viper 1.2.1.
I noticed a problem prior to re-installing but thought nothing of if since it wasn't crucial at the time.
In Root explorer, I am able to delete [i normally delete boot animations] system files but not add where I need to add. Example, I wanted to add a ringtone to my system/media/ringtones folder. I normally [for the last six years] could just copy and paste such files using a root file manager.
However, when I any these files to for example /system/customize/resource/ it doesnt add it. BUT IT DOES rename the file and save it under a dif folder.
Example. Tried copying-copy to-moving to "androidtwirp.mp3" from sdcard to /system/media/notifications and a message pops up saying"notificationsandroidtwirp.mp3 successfully copied-moved to" and it saves notificationsandroidtwirp.mp3 to /system/media/ and it stays there. retrying from that location only results in "notificationsnotificationsandroidtwirp.mp3".
So not only does it rename the file but it saves it in the wrong location. I am at a loss for word. I tried the basics to tryand fix this but i cant seem to hit it on the head.
Thanks!
Edit: Not updating Super SU app, file explorer seems to have worked. Will attempt to duplicate problem to see what actually caused.it.
FOUND IT!
Updating my ES File explorer broke my system writing ability. DO NOT UPDATE is because when you do...
Any file you move, copy/paste to the system will not work properly.
This first happened when I tried to copy and paste a boot animation after I updated ES root explorer. It would rename whatever file i was trying to paste/move/copy over and save it under a sub folder.
example.
copying a ringtone [i.e. androidtwirp.mp3] from SDCard to System folder, the path is /system/media/audio/ringtones/ and it would rename it "ringtonesandroidtwirp.mp3" and save it under /system/media/audio/.
So basically not only was it renamed [which i didnt want it to be] but it would save it to the folder before the actual folder i needed it to be in, plus it would corrupt the file deeming it useless.
moving "ringtonesandroidtwirp.mp3" into the correct folder would only result in "ringtonesringtonesandroidtwirp.mp3"
this happened across the board with all files being moved around
The ES File Explorer version 1.2.1 comes with works flawlessly so don't update it.
I uninstalled ES [also any folders in SDcard related to it] and downloaded JRummy's root explorer and everything is back to normal except i have to reboot the phone to see files [like ringtones and notifications] that i added to the system.
I think it has something to do with our devices having an unlocked bootloaader, but still S-ON. There's S-OFF in the Dev section now if you really need to write to the system folder a lot.
I came from the Vibrant so I know what you're going through
Yeah, im on a low hboot so s-off might not be in my plans since I can practically flash what I want but it was ES file explorer, when I updated the apk the root permissions broke when writting to the system. I emailed the dev and they said they'd have it fixed on the next update.
echo en Android

[Q] Looking for a file manager able to change permission automatically.

Hi, everybody. I have been looking for a file manager with the auto-permission-modification function for a long time. (yeah I invented this name : p)
This is the function that will automatically change the permissions of the files copied to the system partition.
e.g. If you copy a file from the user folder to system folder(e.g. /system/fonts), usually you have to modify its permissions to make system recognize the file and to avoid breaking your device. Therefore, it would be decent if a file manager could handle that automatically!
AFAIK FX Explorer is the only app with such function. I was wondering if there were any other app with this function.
P.S. FX is great in every aspect, I just do not like the left-margin-slide panel.
I was using FX sometime ago, but I didn't really appreciate the UI. That's why I switched to stock file manager.

Es File EXplorer copy/edit gps.conf

Hi
I have a NExus 10 root android 5.1.1
last v. of Es File Explorer
I can access \system\etc and modify permissions
but when i try to copy from outside folder or edit inside gps.conf
result is empty file !?
I guess is only inside system folder that doesn't work cause I usually copy/move files
Is it weird or something simple I don't know?

Categories

Resources