[ZTE ZMAX Guides, News, & Discussion] sketchscarz:
Thats the wrong model number but anyhow I've been doing some code and for this:

u0_a138@draconis:/ $ ls -ld /root

drwx------ root root 2014-09-10 16:59 root

u0_a138@draconis:/ $

This is obvious code. This below however is not.

u0_a138@draconis:/ $ chmod 666 /root

Unable to open /root: Is a directory

10|u0_a138@draconis:/ $ chmod u+x root

Bad mode

10|u0_a138@draconis:/ $ ls -al

drwxr-xr-x root root 1970-01-01 08:36 acct

drwxrwx--x system cache 2015-03-28 00:07 cache-rwxr-x--- root root 288804 1969-12-31 18:00 charger

dr-x------ root root 1970-01-01 08:36 config

lrwxrwxrwx root root 1970-01-01 08:36 d -> /sys/kernel/debug

drwxrwx--x system system 2015-03-27 21:45 data

-rw-r--r-- root root 240 1969-12-31 18:00 default.prop

drwxr-xr-x root root 2015-03-23 09:43 dev

lrwxrwxrwx root root 1970-01-01 08:36 etc -> /system/etc

-rw-r--r-- root root 9093 1969-12-31 18:00 file_contexts

dr-xr-x--- system system 1969-12-31 18:00 firmware

-rw-r----- root root 1090 1969-12-31 18:00 fstab.qcom

-rw-r--r-- root root 7268 1969-12-31 18:00 icon_ftm.png

-rwxr-x--- root root 183596 1969-12-31 18:00 init

-rwxr-x--- root root 2722 1969-12-31 18:00 init.class_main.sh

-rwxr-x--- root root 1316 1969-12-31 18:00 init.environ.rc

-rwxr-x--- root root 19789 1969-12-31 18:00 init.ftm.rc

-rwxr-x--- root root 1702 1969-12-31 18:00 init.mdm.sh

-rwxr-x--- root root 20491 1969-12-31 18:00 init.offcharge.rc

-rwxr-x--- root root 7374 1969-12-31 18:00 init.qcom.class_core.sh

-rwxr-x--- root root 6788 1969-12-31 18:00 init.qcom.early_boot.sh

-rwxr-x--- root root 12523 1969-12-31 18:00 init.qcom.factory.sh

-rwxr-x--- root root 24939 1969-12-31 18:00 init.qcom.ftm.rc

-rwxr-x--- root root 25603 1969-12-31 18:00 init.qcom.rc

-rwxr-x--- root root 2742 1969-12-31 18:00 init.qcom.ril.sh

-rwxr-x--- root root 8222 1969-12-31 18:00 init.qcom.sh

-rwxr-x--- root root 4561 1969-12-31 18:00 init.qcom.ssr.sh

-rwxr-x--- root root 2995 1969-12-31 18:00 init.qcom.syspart_fixup.sh

-rwxr-x--- root root 55799 1969-12-31 18:00 init.qcom.usb.rc

-rwxr-x--- root root 8282 1969-12-31 18:00 init.qcom.usb.sh

-rwxr-x--- root root 26202 1969-12-31 18:00 init.rc

-rwxr-x--- root root 5219 1969-12-31 18:00 init.target.rc

-rwxr-x--- root root 1795 1969-12-31 18:00 init.trace.rc

-rwxr-x--- root root 3915 1969-12-31 18:00 init.usb.rc

drwxrwxr-x root system 1970-01-01 08:36 mnt

drwxrwx--x system system 2015-03-22 20:50 persist

dr-xr-xr-x root root 1969-12-31 18:00 proc

-rw-r--r-- root root 2161 1969-12-31 18:00 property_contexts

drwxr-xr-x root root 1969-12-31 18:00 res

drwx------ root root 2014-09-10 16:59 root

drwxr-x--- root root 1969-12-31 18:00 sbin

lrwxrwxrwx root root 1970-01-01 08:36 sdcard -> /storage/emulated/legacy

-rw-r--r-- root root 656 1969-12-31 18:00 seapp_contexts

-rw-r--r-- root root 75004 1969-12-31 18:00 sepolicy

drwxr-x--x root sdcard_r 1970-01-01 08:36 storage

dr-xr-xr-x root root 1970-01-01 08:36 sys

drwxr-xr-x root root 1969-12-31 18:00 system

lrwxrwxrwx root root 1970-01-01 08:36 tombstones -> /data/tombstones

-rw-r--r-- root root 8901 1969-12-31 18:00 ueventd.qcom.rc

-rw-r--r-- root root 4023 1969-12-31 18:00 ueventd.rc

lrwxrwxrwx root root 1970-01-01 08:36 usbdrive -> /mnt/usbdrive

lrwxrwxrwx root root 1970-01-01 08:36 vendor -> /system/vendor

u0_a138@draconis:/ $

looks like I did something awesome.

---------- Post added at 07:53 AM ---------- Previous post was at 07:46 AM ----------

10|u0_a138@draconis:/ $ echo chown root:root

chown root:root

u0_a138@draconis:/ $

---------- Post added at 08:00 AM ---------- Previous post was at 07:53 AM ----------

I want to know why the modes are bad.