[Q] Smb mount & system permissions - Android Q&A, Help & Troubleshooting

Hey out there,
I need some advise regarding mounting a local samba share folder on a tab/phone.
I manage to mount a share from my server to the /mnt/cifs (or other folder in cifs) of the android device but can't manage to get it seen by the app i intend to. I used cifsmanager to easily mount the share.
I also managed to mount via the terminal the share folder but it can't be seen by ES Explorer (or other app) except when mounted in folders owned by "root".
My aim would be to have any app (like music player) to see the content of the mounted share and use its files. And in the long run to have the mounting done automatically done when at home or when away sync some folder via sftp and access all using the same protocol.
After searching for days now I don't manage to find any answer about this problem. It doesn't seem to be possible (and I find it logical) to mount in /storage or other folders owned by the "system" user.
Can someone helps me to understand the mounts and permissions on Android and more specifically in Cyanogenmod or at least redirect me to the right location?
Thanks guys
My device: ASUS TF300T
ROM: Cyanogenmod 10.1 nightly

Related

[Q] Can I mount NFS folder?

We have a filesystem at work which I use very often. On my Windows laptop I simply mount an NFS drive (map network disk). Can I mount an NFS folder in ICS? If not, is there any other way of accessing network disks?
Felisek said:
We have a filesystem at work which I use very often. On my Windows laptop I simply mount an NFS drive (map network disk). Can I mount an NFS folder in ICS? If not, is there any other way of accessing network disks?
Click to expand...
Click to collapse
I've used File Expert to connect to network drives. Works with windows and Mac networks just fine.
Sent from my Transformer Prime TF201 using Tapatalk
Like Windows you'll need NFS software installed to do that, and Android doesn't come with them any more than Windows XP did. So few people if anyone have tried an NFS mounter, people usually use CIFS/SMB - which is what Windows networks usually uses for file shares and maps, not NFS.
Samba File Sharing in the market for anserver to make your prime accessible to other systems.
Any app that can deal with SMB/CIFS shares, like most big name file managers or CifsManager (maps network drive[sic]).
SSHFS is also possible if you have a SSH server and the right software on the client wanting to mount. I have both on my tablet. SSHFS is like mappig a network drive but more secure.
Sent from my Transformer Prime TF201 using Tapatalk
Felisek said:
We have a filesystem at work which I use very often. On my Windows laptop I simply mount an NFS drive (map network disk). Can I mount an NFS folder in ICS? If not, is there any other way of accessing network disks?
Click to expand...
Click to collapse
Yes, you can mount a network drive to your device if it is rooted. See this thread:
http://forum.xda-developers.com/showthread.php?t=1442928
Or you could use this tweaker to load the cifs and md4 modules (by checking their boxes in the app), then use the cifsmanager app to mount your drive.
http://forum.xda-developers.com/showthread.php?t=1473520
sigh, people need to realize CIFS(SMB) is NOT NFS ...
For the OP, it looks like the kernel has NFS_FS enabled, but you'll want/need nfs-utils built in order to mount (and you'll need root). (note: NFSv3 and NFSv4 are not enabled in the kernel, but a dev could probably build those modules easily enough).
Thank you for your comments. I have mixed up things in my original post. I use NFS from my Linux box, but I mount Samba share from my Windows laptop. I have found an app called AndSMB that allows my accessing Samba shares from the Prime. However, it doesn't mount a proper network folder, it only allows browsing network folders and downloading network files.
I believe CifsManager can mount a network directory, but it needs root access. Is it true that every software mounting a drive/directory would need a rooted system? I don't really want to root my Prime...

Android and Windows 7 Homegroup

I have an Android tablet and my PC running Windows 7 Pro. I am using ES File Explorer on Android to see shared folders.
I added some folders to the Music/Picture/Video libraries and shared them in a homegroup. I tried to make the homegroup not need a password and it'll let me access my PC from my tablet and view the root folders but as soon as I tried to access a folder (Music) it'll say permissions aren't available. It will work if I set a password and login with my account.
The second issue is that I'm seeing folders that I don't want to see. I can see a ADMIN$ folder (which is C:\WINDOWS), C$, D$, E$ (the HDDs), IPC$, print$, User. As well as Music, Pictures, Videos from the library. The folders in bold aren't shared so I don't know why I'm seeing them.
The last issue is that a folder (a whole drive actually) isn't being shared. I included the whole E: Drive in the Videos folder but it won't show up in the Video folder from the tablet. However if I include a folder from within the E: Drive then it will show up. Can I not include the root of a drive in a library? I mean it works on the PC.

[Q] Network mounts?

Anyone have any luck with mounting network shares locally (cifs, nfs, sshfs)? I can mount sshfs after getting the appropriate bins, but the directory contents are only visible to the terminal app and not any other apps. I'm having this problem specifically: http://forum.xda-developers.com/showthread.php?t=2106480
I'm using ElementalX-N9-0.08 with Lollipopalooza.
Do we have solution on the N9 for this?

possible to synchronize wifi dongle cloud storage with android file manager?

Hello,
I have a JioFi dongle with a 64Gb micro sd in it, to facilitate local wifi storage. The difficulty I face is that, i cant seem to get a seamless synchronization with the data stored in the dongle.
Earlier I used to have ES file explorer and I used to set it up along with my pc within a LAN network so that I could easily share files wirelessly by simply setting permissions for the folder to be shared.
But now I've moved to the open source world, and I could hardly find an alternative to make it possible with my WiFi dongle. Syncthing did cross my mind, but it needs the recipient device to have that installed as well (which is not possible since in this case the device is a dongle).
Eventually, i have to use a browser and share the files through it, with every time logging in as admin. That is tiresome.
So, any possible method I could implement here ? I only need a file explorer like experience so as to easily stay in sync with the data stored in it.
TL;Dr - Any method by which I could sync and access the local data stored in a portable wifi storage, perhaps a file explorer (preferably open source) ?

Remote encryption/decryption solution

Hi all,
I am looking for a solution to achieve the following, I have a NAS which does not in itself support encryption, I would like to encrypt all the file on it with some sort of application, and then use an explorer app on each android & Windows based device, which will allow me to decrypt the file upon me opening them, what's the best solution, if I was to encrypt the files via Windows with a software of some sort, is there an app for android which, once the decryption key is entered, allows you to browse the files as normal, I currently use solid explorer as a file explorer on my android devices and for NAS access, your help will be much appreciated
Thanks
Use 7zip what is available for both Android and Windows: It allows to encrypt and password-protect files & folders.

Categories

Resources