Owncloud mouting local storage

Discussion in 'HOWTO-Related Questions' started by hec1152, Dec 11, 2014.

  1. hec1152

    hec1152 New Member

    I followed instructions http://www.howtoforge.com/how-to-install-owncloud-7-on-ubuntu-14.04 And, I thouht I had it working as evidenced by being able to access my cloud from another system. Later having been away for a while, I tried setting it up for local access on the Owncloud server following instructions starting at #4 of tutorial, After being away from this project for a while, I came back and noticed that when I opened a terminal window, I got the following

    Please enter the username to authenticate with server
    https://192.168.0.78/owncloud/remote.php/webdav or hit enter for none.
    Username: ocuser
    Please enter the password to authenticate user ocuser with server
    https://192.168.0.78/owncloud/remote.php/webdav or hit enter for none.
    Password:
    /sbin/mount.davfs: the server certificate does not match the server name
    /sbin/mount.davfs: the server certificate is not trusted
    issuer: ubuntu
    subject: ubuntu
    identity: ubuntu
    fingerprint: a4:6b:f6:29:46:c7:0e:ea:91:82:9d:cb:d9:8d:39:d1:cb:70:c3:f0
    You only should accept this certificate, if you can
    verify the fingerprint! The server might be faked
    or there might be a man-in-the-middle-attack.
    Accept certificate for this session? [y,N] y
    /sbin/mount.davfs: Mounting failed.
    Could not read status line: Secure connection truncated

    I'm entering the correct username and password in the above sequence but no matter what I try I cannot get past this apparent error. For reference, my fstab entry is:

    https://192.168.0.78/owncloud/remote.php/webdav /home/hec/owncloud davfs user,rw,noauto 0 0

    What am I doing wrong? Thanks in advance...
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Please check the permissions of the directory, as mention in the tutorial.

     
    Linux Passion likes this.
  3. hec1152

    hec1152 New Member

    Thanks. I tried permissions on owncloud folder as follows:

    4 drwxrwxr-x 2 hec hec 4096 Nov 9 16:16 .
    4 drwxr-xr-x 73 hec hec 4096 Dec 15 18:55

    and

    4 drwxrwxr-x 2 ocuser ocuser 4096 Nov 9 16:16 .
    4 drwxr-xr-x 73 hec hec 4096 Dec 15 18:55

    Both hec and ocuser are Owncloud users. No difference
     
    Linux Passion likes this.

Share This Page