Hi
I am writing a plugin for my android xbmc. I am trying to copy a file to the system and change its permission to Read Only.
I tried shutil. It copies Ok with read only attribute in my mac but in android it ends up having all write permissions.
Is there any code to make a file read only? And vice versa if needed?
Any help is appreciated.
I am writing a plugin for my android xbmc. I am trying to copy a file to the system and change its permission to Read Only.
I tried shutil. It copies Ok with read only attribute in my mac but in android it ends up having all write permissions.
Is there any code to make a file read only? And vice versa if needed?
Any help is appreciated.