1 Reply Latest reply on Feb 9, 2016 9:43 AM by Pietro Francesco Maggi

    TC 70 Enterprise Folder Permissions

    JOHN RAY

      Hello,

       

      I have a TC 70 non-GMS running Android 4.4.3 with Enterprise Home Screen (EHS) v2.3  It says that the config files for EHS is still stored at the dirtectory /enterprise/user; however, I am unable to view the files or write to the directory.  I need to import my custom config file.  Does anyone know how to modify the permissions for the /enterprise folder?

       

      Any help is appreciated.

       

      Thanks,

      John

        • Re: TC 70 Enterprise Folder Permissions
          Pietro Francesco Maggi

          Hi John,

          the behaviour you see with the /enterprise/usr folder is due to the changes we had to implement to comply to Android's compatibility requirements.

          As a result, you cannot see the content of the /enterprise/  folder, but you can still read/write files from /enterprise/usr/ using tools like stagenow or adb.

           

          as an example, using ADB:

           

           

          XHF648-04M:Downloads pietro$ adb shell
          shell@TC70:/ $ cd /enterprise/
          shell@TC70:/enterprise $ ll
          opendir failed, Permission denied
          255|shell@TC70:/enterprise $ cd usr
          shell@TC70:/enterprise/usr $ ll
          drwxrwxrwx u0_a44   u0_a44            2016-01-21 09:12 AnalyticsConfig
          drwxrwxr-x u0_a6    u0_a6             2016-01-28 09:54 dataanalytics
          drwxrwxrwx u0_a11   u0_a11            2016-01-21 09:09 elemez
          -rwxrwxrwx u0_a142  u0_a142       656 2016-02-06 19:16 emdkosupdateresults.xml
          -rw-rw-rw- u0_a145  u0_a145      4443 2016-02-09 17:38 enterprisehomescreen.log
          -rw-rw-rw- u0_a145  u0_a145      1746 2016-02-09 17:38 enterprisehomescreen.xml
          drwxrwxrwx system   system            2016-01-21 09:09 persist
          -rwxrwxrwx system   system       5668 2016-01-21 09:10 system-settings-backup.xml
          shell@TC70:/enterprise/usr $ exit
          XHF648-04M:Downloads pietro$ adb pull /enterprise/usr/enterprisehomescreen.xml
          58 KB/s (1746 bytes in 0.029s)
          XHF648-04M:Downloads pietro$ adb push enterprisehomescreen.xml /enterprise/usr/
          95 KB/s (1746 bytes in 0.017s)
          XHF648-04M:Downloads pietro$
          

           

          You can see that I get a "Permission denied" is I try to see the content of the /enterprise folder, but I can still see the content of the /enterprise/usr folder.

           

          Best regards

          ~Pietro