FORUMS

What Features Do You Look for in a Gallery App?

With so many different options to choose from, finding the right Gallery app may be a … more

Google Photos ‘Unlimited’ Storage Reportedly Being Capped

When Google Photos was announced, many of us thought very highly … more

Sprint Moves to Lift Video Streaming Limit for All-In

Yesterday, Sprint announced a new unlimited scheme that offered customers an … more

Xiaomi Releases Kernel Source Code For Mi4i

If you’ve been following the XDA News Portal lately, you might have noticed an … more

[Q] Change file permissions sdcard

8 posts
Thanks Meter: 0
 
By kabuki-joe, Junior Member on 6th June 2014, 02:33 AM
Post Reply Subscribe to Thread Email Thread
hello, ive been doing some searching but havent been able to figure out how to change the permissions of a file thats in /sdcard on 4.4.2.
If this is actually possible could someone please point me in the right direction.

Thanks
 
 
6th June 2014, 02:55 AM |#2  
CRIME INC.'s Avatar
Senior Member
Flag HENDERSONVILLE
Thanks Meter: 1,956
 
More
Delete

Sent from my PARANOID HAMMERHEAD
Last edited by CRIME INC.; 6th June 2014 at 01:59 PM.
6th June 2014, 03:22 AM |#3  
Recognized Contributor
Thanks Meter: 1,323
 
More
Quote:
Originally Posted by kabuki-joe

hello, ive been doing some searching but havent been able to figure out how to change the permissions of a file thats in /sdcard on 4.4.2.
If this is actually possible could someone please point me in the right direction.

Thanks

I don't think you can.
6th June 2014, 06:51 AM |#4  
Ben36's Avatar
Senior Member
Thanks Meter: 2,580
 
More
You can't if it's on sd card as it doesn't need permissions. Move it to system and you can

Sent from my Nexus 5 using Tapatalk
6th June 2014, 01:48 PM |#5  
kabuki-joe's Avatar
OP Junior Member
Flag kingston
Thanks Meter: 0
 
More
I wanted to make a file read only, but i guess it cant be done. Thanks for the replies
6th June 2014, 01:58 PM |#6  
kabuki-joe's Avatar
OP Junior Member
Flag kingston
Thanks Meter: 0
 
More
Info 2
just to inform anyone that may be searching for this as well, the reason it cant be done is a limitation of FAT32 which doesnt allow file permissions.
6th June 2014, 02:58 PM |#7  
danarama's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 18,598
 
More
Quote:
Originally Posted by kabuki-joe

just to inform anyone that may be searching for this as well, the reason it cant be done is a limitation of FAT32 which doesnt allow file permissions.

Couple of things...

1) Your /sdcard is not formatted in FAT32
2) The limitation is that Android is designed specifically to not allow you to change /sdcard permissions. /sdcard is mounted at boot with a specific set of permissions which are what the system wishes to maintain at all times, for all files.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes