NFS mounts and filesystem permissions after lollipop upgrade

bmarley83

New member
Dec 4, 2014
4
0
0
I recently upgraded to lollipop and afterwards my busy box mounts wouldn't work correctly, so I decided to do a full reset and redownload everything and even after factory reset I still have root.

I modified my shell script in SManager which gets the NFS share mounted, however only root explorer or SM manager can see the files.

I can't open them in any application. No application other than SManager or root explorer can see the files and when I try to open them I get permission denied or for instance trying to play a video or open an eBook leads to file not found in other programs. I mounted it to /data/media/0/Files, has the directory changed again or is that a good path? Any ideas appreciated.

It seems to be local permissions because it mounts fine from Slackware on my laptop. Problem is I haven't the foggiest idea about Android file system permissions and from what I've heard it's quite a mess with all the symbolic links.

I have a nexus 7 2012 version with 32 gigabytes of storage running lollipop.
 
Last edited:

bmarley83

New member
Dec 4, 2014
4
0
0
Thanks a lot for all the help guys this is my first post BTW. Really shows how open source this community is. Great job! Long live capitalism and God bless the the developers and all the contributors.

Android is like bending the reality of open source, hey guys let's whore it out and reap the benefits. This community is the worst I've ever been involved in and the fact that I can't even find a response to mount an nfs share in an operating system based on the Linux kernel is pathetic.

Android is the death of open source, and it's only getting worse. No I'm not a programmer, but I am not incompetent, soon I will look for alternatives and I know there are many others craving the same. Give us Linux not a half asssed os. You already have the market share now it's time to move on. Rant over.
 
Last edited:

glimmling

Senior Member
Jan 27, 2011
245
109
0
tuetenmensch.blogspot.com
Calm down. This device is 2 years old and people lost interest. One day waiting before a rant isn't enough time to let people recognize your thread.

Lollipop is more enforced with SE Linux. You need to set SE Linux mode to "Enforcing" to see the files of your mounted share.

Open Android Terminal Emulator and execute the following commands:

su
setenforce Permissive

Now run your mount script and you should be able to access the share. After unmounting the share you should go back to Enforcing mode.

su
setenforce Enforcing

See the thread of vorcers kernel for more info:
http://forum.xda-developers.com/showthread.php?p=57134590

Gesendet von meinem Nexus 7 mit Tapatalk
 

bmarley83

New member
Dec 4, 2014
4
0
0
Also I failed to mention that I run slackware mainly as my only distribution I just started getting into fedora so SE Linux is something that I'm quite unfamiliar with but thank you again for the answer glimmering.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone