Sony Extends AOSP Project to the Xperia Z3

While most OEMs simply don’t care about the custom ROM community, others are doing an … more

How Open Source Can Help Your Project w/ Ethan Yonker – BABBQ2014

People have finally recovered from this years Big Android BBQ … more

Add Frequency Bands to Your Qualcomm Device

Those of you who travel quite a bit undoubtedly own more than one device due to frequency band … more

More Android 5.0 Details Revealed, Microsoft Band Fitness Tracker – XDA TV

Google talks more about Android 5.0 Lollipop! That and much … more
Post Reply

[Q] Change file permissions sdcard

OP kabuki-joe

6th June 2014, 02:33 AM   |  #1  
kabuki-joe's Avatar
OP Junior Member
Flag kingston
Thanks Meter: 0
 
8 posts
Join Date:Joined: Jan 2011
More
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,954
 
3,226 posts
Join Date:Joined: Jan 2011
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,263
 
3,161 posts
Join Date:Joined: Aug 2012
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: 1,753
 
6,205 posts
Join Date:Joined: Jun 2012
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
 
8 posts
Join Date:Joined: Jan 2011
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
 
8 posts
Join Date:Joined: Jan 2011
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  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 12,394
 
23,463 posts
Join Date:Joined: Aug 2010
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


Top Threads in Nexus 5 Q&A, Help & Troubleshooting by ThreadRank