Can somebody please tell me what permissions, owner & group I should give to /system/etc/hosts file? My current script is:
#!/system/bin/sh
ln -s /system/etc /etc
touch /etc/hosts
chmod 644 /etc/hosts
chown root:root /etc/hosts
echo "IPADDR DOMAIN" >> /etc/hosts
svc data disable
svc data enable
Can someone help me with the following?
chmod 644 /etc/hosts
chown root:root /etc/hosts
-rw-r--r-- root root 25 2008-08-01 08:00 hosts
– Chahk Jun 25 '14 at 14:17