View Single Post
Posts: 106 | Thanked: 372 times | Joined on Jan 2012
#1973
Originally Posted by suicidal_orange View Post
Touch won't error it will just update the date and time the file was modified to 'now'
Is it so in the asa's case, as he has already used chattr +i to "lock" the file?
Code:
[nemo@Sailfish ~]$ touch /opt/alien/data/app/com.android.vending-1.apk
touch: cannot touch `/opt/alien/data/app/com.android.vending-1.apk': Permission denied
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# touch /opt/alien/data/app/com.android.vending-1.apk
touch: cannot touch `/opt/alien/data/app/com.android.vending-1.apk': Permission denied
[root@Sailfish nemo]#
 

The Following 2 Users Say Thank You to Heik For This Useful Post: