Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,686 Members 37,529 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Change file permissions sdcard

Tip us?
 
kabuki-joe
Old
#1  
kabuki-joe's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Jan 2011
Location: kingston
Question [Q] Change file permissions sdcard

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
 
CRIME INC.
Old
(Last edited by CRIME INC.; 6th June 2014 at 01:59 PM.)
#2  
CRIME INC.'s Avatar
Senior Member
Thanks Meter 1,927
Posts: 3,196
Join Date: Jan 2011
Location: HENDERSONVILLE
Delete

Sent from my PARANOID HAMMERHEAD
 
Aerowinder
Old
#3  
Recognized Contributor
Thanks Meter 1,216
Posts: 3,086
Join Date: Aug 2012
Quote:
Originally Posted by kabuki-joe View Post
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.
 

Google Firmware: Google
USB Drivers: Google | Mirror
ADB+ADB Drivers: 19.0.2 (4.4.4) + Koush Universal ADB Drivers

TWRP Official: hammerhead | flo
TWRP Holofied: hammerhead | flo

Gapps: BaNkS

Superuser: Chainfire | Mirror
 
Ben36
Old
#4  
Ben36's Avatar
Senior Member
Thanks Meter 1,606
Posts: 5,792
Join Date: 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
 
kabuki-joe
Old
#5  
kabuki-joe's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Jan 2011
Location: kingston
I wanted to make a file read only, but i guess it cant be done. Thanks for the replies
 
kabuki-joe
Old
#6  
kabuki-joe's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Jan 2011
Location: kingston
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.
 
rootSU
Old
#7  
rootSU's Avatar
Senior Member
Thanks Meter 10,771
Posts: 21,935
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by kabuki-joe View Post
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.
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Moto G 4G Receives Official CyanogenMod 11 Love

When theMoto Gwas initially released to the world in November of last year,very few actually … more

Get Your Tasks Organized on Android Wear with Agenda Wear

Having a checklist of things you need to do is something we all can find useful at … more

Top 5 LG G3 MODs – XDA Developer TV

The LG G3 has been LG’s breakout hit of the summer. Using their knowledge frombuilding some … more

Make Your Calendar Widget Beautiful with Month

For some of us, summer vacation is alreadyover. For those getting ready to school, work, or … more