Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Change file permissions sdcard

OP kabuki-joe

6th June 2014, 03: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, 03:55 AM   |  #2  
CRIME INC.'s Avatar
Senior Member
Flag HENDERSONVILLE
Thanks Meter: 1,956
 
3,226 posts
Join Date:Joined: Jan 2011
More
Delete

Sent from my PARANOID HAMMERHEAD
Last edited by CRIME INC.; 6th June 2014 at 02:59 PM.
6th June 2014, 04:22 AM   |  #3  
Recognized Contributor
Thanks Meter: 1,288
 
3,200 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, 07:51 AM   |  #4  
Ben36's Avatar
Senior Member
Thanks Meter: 2,047
 
6,712 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, 02: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, 02: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, 03:58 PM   |  #7  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,844
 
25,037 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