- Code: Select all
//media/Gosia_ISO /home/maciek/SMB-1 cifs user,noauto,credentials=/home/maciek/.smbfile 0 0
I want to mount this share on-demand by user. It is possible to mount it from root using such entry in bash script on desktop:
- Code: Select all
mount //media/Gosia_ISO
The entry for that share in smb.conf file on M5 server looks like this:
- Code: Select all
[Gosia_ISO]
path = /home/media/disk-2/Gosia_ISO
comment = Gosia_ISO
browseable = yes
public = no
writable = yes
create mask = 0644
directory mask = 0755
force create mode = media
force group = media
valid users = media
But mounting share from user level, rapports an error:
- Code: Select all
[maciek@Piotr ~]$ mount //media/Gosia_ISO
mount: //media/Gosia_ISO: No such file or directory
or
- Code: Select all
[maciek@Piotr ~]$ mount //media/Gosia_ISO /home/maciek/SMB-1
mount: Only root can do it
Or if I want to access it from Dolphin, it rapports in such way:
- Code: Select all
Error during access to 'Gosia_ISO on media', system rapports: This program is not installed setuid root - "user" CIFS mounts not supported.
I try to install setuid but there is no one in M5 repo.
What I am doing wrong? Any help?