AnsweredAssumed Answered

permission problem of usb on sabresd board

Question asked by beomseok oh on Sep 19, 2015
Latest reply on Sep 21, 2015 by Yuri Muhin

I am trying to write any file to usb (/mnt/udisk) on sabresd board

 

When dettaching usb memory stick.................

in init.rc

    mkdir /mnt/udisk 0777 system system  -> drwxrwxrwx system   system            1970-01-02 20:49 udisk

    symlink /mnt/udisk /udisk

 

root@sabresd_6dq:/mnt # ls -al                                                

drwxr-xr-x root     system            1970-01-02 20:49 asec

d--------- system   system            1970-01-02 20:49 extsd

drwxr-xr-x root     system            1970-01-02 20:49 obb

lrwxrwxrwx root     root              1970-01-02 20:49 sdcard -> /storage/emulated/legacy

drwx------ root     root              1970-01-02 20:49 secure

drwx------ shell    shell             1970-01-02 20:49 shell

drwxrwxr-x system   graphics          1970-01-02 20:49 shm

drwxrwxrwx system   system            1970-01-02 20:49 udisk

 

When attaching usb memory stick.................

in fstab.freescale

     /devices/platform/fsl-ehci /mnt/udisk vfat defaults voldmanaged=sdcard:auto

 

root@sabresd_6dq:/mnt # ls -al

drwxr-xr-x root     system            1970-01-02 20:49 asec

d--------- system   system            1970-01-02 20:49 extsd

drwxr-xr-x root     system            1970-01-02 20:49 obb

lrwxrwxrwx root     root              1970-01-02 20:49 sdcard -> /storage/emulated/legacy

drwx------ root     root              1970-01-02 20:49 secure

drwx------ shell    shell             1970-01-02 20:49 shell

drwxrwxr-x system   graphics          1970-01-02 20:49 shm

d---rwxr-x system   media_rw          1970-01-01 00:00 udisk

 

Which file do i modify to add +w at udisk permission?

 

Thank you in advance...

Outcomes