samba mount unavailable to user

77 views
Skip to first unread message

Ital

unread,
Jan 30, 2019, 8:05:18 AM1/30/19
to Android-x86
Hello I'm running the android-x86_64-7.1-r2 on vmware.

I managed to mount a samba share on /sdcard/dar, via the command shown herebelow (sorry I'm unable to find a way to copy/paste texr from the shell):

1.png


Once mounted the share, I can see the contents correctly, but only with super-user privileges. Instead, when listing the contents of /sdcard/dar as normal user, I cannot see anything, as shown herebelow:

2.png

How can I get access to the samba share also as a normal user?

Thank you in advance

Ital

unread,
Feb 4, 2019, 10:56:47 AM2/4/19
to Android-x86
Could someone share its experience on mounting a samba share? As written, I'm able to mount correctly but the resource is only available to the superuser.
Any ideas on how to proceed?
Thanks
Ital

Chih-Wei Huang

unread,
Feb 12, 2019, 3:48:29 AM2/12/19
to Android-x86
Ital <imani...@gmail.com> 於 2019年2月4日 週一 下午11:56寫道:
>
> Could someone share its experience on mounting a samba share? As written, I'm able to mount correctly but the resource is only available to the superuser.
> Any ideas on how to proceed?

May use the sdcard daemon to map it.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Ital

unread,
Feb 12, 2019, 7:06:48 AM2/12/19
to Android-x86
Thank you Chih-Wei,
how can I do that? I'm a newbie and don't know how I can manage the sdcard daemon...

Ital

unread,
Feb 15, 2019, 12:19:34 PM2/15/19
to Android-x86
Hello Chih-Wei,
I tried to find documentation on how to mount in android-x86 the samba share as normal user but I'm at a dead point.
I'm even unable to find proper documentation of the android x86 features. The documentation in the website about the sdcard ( http://www.android-x86.org/documents/sdcardhowto ) seem to be outdated: I read about the presence of fstab, which I don't even find in android 7.1. Could you point me to the right direction?

In particular, if I understand correctly, are you suggesting me to add in the kernel line before boot the string "sdcard=//192.168.XXX.XXX/sambaShare" ?  I added that line but nothing happened, android booted normally without the share. How can I specify that the filesystem is CIFS (samba), where I do specify samba accessing credentials? and the mount point? I didn't find any documentation about that.

Normally, on a linux machine, this should be a matter of just few seconds: i.e. I would add to the /etc/fstab the samba share line, and it would just work.

Could I mount with fstab in android-x86_64-7.1-r2? Is there any documentation?

Surely is my fault, being a newbie to android-x86, but I'm unable to perform most elemental operations due to lack of proper documentation.
Could you suggest me where I can start to learn using this operating system (maybe better if with reference only to the differences to linux, that I know quite well).

Thank you,
Ital

Il giorno martedì 12 febbraio 2019 09:48:29 UTC+1, Chih-Wei Huang ha scritto:
Reply all
Reply to author
Forward
0 new messages