I have a samba server with three shares. I would like to permanently mount one of these shares in a Ubuntu server. I have read the following guide: https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount_password_protected_network_folders This guide states that I need to amend fstab and then use "mount -a" I have included the following in fstab: //aphrodite/Personal /mnt/samba_personal cifs username=henry,password=":)",iocharset=utf8 0 0 When I try to mount this share I get: root at pve:~# mount -a mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) I know the username & password are correct so am unsure of what the problem may be.
Am 04.12.2016 um 03:41 schrieb Henry via samba:> I have a samba server with three shares. > I would like to permanently mount one of these shares in a Ubuntu > server. I have read the following guide: > https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount_password_protected_network_folders > > This guide states that I need to amend fstab and then use "mount -a" > > I have included the following in fstab: > //aphrodite/Personal /mnt/samba_personal cifs > username=henry,password=":)",iocharset=utf8 0 0 > > When I try to mount this share I get: > root at pve:~# mount -a > mount error(13): Permission denied > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) > > I know the username & password are correct so am unsure of what the > problem may bespecial chars in the password?
i am sick of people which directly reply instead to the list so that others continue trying to help because nobody knows about solved problems Am 04.12.2016 um 10:14 schrieb Henry:> yes, ampersand :) > > I have included the password in quotes in fstab > > On Sun, Dec 4, 2016 at 7:55 PM, Reindl Harald via samba > <samba at lists.samba.org> wrote: >> >> >> Am 04.12.2016 um 03:41 schrieb Henry via samba: >>> >>> I have a samba server with three shares. >>> I would like to permanently mount one of these shares in a Ubuntu >>> server. I have read the following guide: >>> >>> https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount_password_protected_network_folders >>> >>> This guide states that I need to amend fstab and then use "mount -a" >>> >>> I have included the following in fstab: >>> //aphrodite/Personal /mnt/samba_personal cifs >>> username=henry,password=":)",iocharset=utf8 0 0 >>> >>> When I try to mount this share I get: >>> root at pve:~# mount -a >>> mount error(13): Permission denied >>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) >>> >>> I know the username & password are correct so am unsure of what the >>> problem may be >> >> special chars in the password?
yes, ampersand :) I have included the password in quotes in fstab p.s. I previously hit reply and not reply all :) On Sun, Dec 4, 2016 at 7:55 PM, Reindl Harald via samba <samba at lists.samba.org> wrote:> > > Am 04.12.2016 um 03:41 schrieb Henry via samba: >> >> I have a samba server with three shares. >> I would like to permanently mount one of these shares in a Ubuntu >> server. I have read the following guide: >> >> https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount_password_protected_network_folders >> >> This guide states that I need to amend fstab and then use "mount -a" >> >> I have included the following in fstab: >> //aphrodite/Personal /mnt/samba_personal cifs >> username=henry,password=":)",iocharset=utf8 0 0 >> >> When I try to mount this share I get: >> root at pve:~# mount -a >> mount error(13): Permission denied >> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) >> >> I know the username & password are correct so am unsure of what the >> problem may be > > > special chars in the password? > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba