ITaaS – Identity Theft as a Service with FileThis

It’s not often I look at a product or service and say “I really really … more

Watch Dogs Theme for Rooted Z3

If you’ve got a rooted Z3 and are jealous of all the awesome CM12 themes popping out left and right, … more

Build CM12 for Xperia E3 and Xperia T

XDA Senior Member Vynikalput together this guide to help you learn how to build your own nightlies … more

Lollipop for OnePlus One Enters Testing Stage

Cyanogen just announced on their twitter that their CyanogenMod Lollipop build for the OnePlus … 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,296
 
3,223 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,134
 
6,874 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: 14,615
 
26,086 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