[android-developers] Re: Change sdcard permission

2009-06-13 Thread Delta Foxtrot
2009/6/13 Nithin Varamballi 

>  Ya i agree with your point that sdcards are formatted to be fat32
> and fat32 doesn't support linux permission system, Suppose if i give
> in my application like this "/bin/sh /sdcard/myapplication", what will
> i get,weather i can change the permission of my application or just it
> will show the file permission of the file..


You don't need to set files executable to launch them, you can launch them
indirectly via the sh binary.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Change sdcard permission

2009-06-12 Thread Nithin Varamballi

Hi.. Thanks for reply...

  Ya i agree with your point that sdcards are formatted to be fat32
and fat32 doesn't support linux permission system, Suppose if i give
in my application like this "/bin/sh /sdcard/myapplication", what will
i get,weather i can change the permission of my application or just it
will show the file permission of the file...

Thank You
Nithin N V

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Change sdcard permission

2009-06-12 Thread Delta Foxtrot
2009/6/13 N V 

> Can any help me that, How can i change the file
> permission that is present in the SDCARD... Normally when i insert a
> file to SDCARD, file has read and write permission, I want to change
> the permission that is read
> write and execute.. Is it possible to change the permission?
>

Most sdcards are formatted to be fat32 and fat32 doesn't support linux
permission system, you can get round this by prefixing the command with sh.

eg

/bin/sh /sdcard/application

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---