1

I can't change the file and folder permissions on my rooted android 4.4.2 device. I tried doing this from Root Explorer, Total Commander and also from terminal emulator and it didn't worked. Any idea why?

SarpSTA
  • 2,682
  • 5
  • 19
  • 36
user1800997
  • 167
  • 5
  • 11

2 Answers2

2

I guess the file system you are working on is mounted as readonly mode. /system is readonly by default. You need to run the following command to re-mount it as read-write

su
mount -o rw,remount,rw /system

Another guess is that the file has immutable attribute. Try run this command as root to remove immutable attribute from the file.

chattr -i YOUR_FILE
Simon J. Liu
  • 121
  • 2
  • 1
    Good answer, which you might want to integrate with some info about the /storage/emulated/0 mountpoint, since OP didn't specify the culprit folder. In fact, since the abovementioned is masked via FUSE, changing ownership and permissions on it isn't allowed, and even the root user has to work on the original folder, which resides in /data/media/0 in order to edit permissions. – Grimoire Dec 27 '16 at 16:27
0

The problem was caused by the fat32 file system of the sdcard.

user1800997
  • 167
  • 5
  • 11