Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 51

Thread: [howto] Mount your Box.Net account using WebDAV

  1. #11
    Join Date
    Feb 2007
    Beans
    8

    Re: [howto] Mount your Box.Net account using WebDAV

    Hey,
    Every time I mount a WebDAV share it is only accessible as root, but I cant mount it as my normal user.
    Is there any way to sort this out, am I just doing something wrong?

    I have been doing....
    sudo mount -t devfs http://<local_server_ip>/dav/sam/ /home/sam/dav
    But then nothing will work on that folder, and I cant chmod it or anything. But it works with root fine.

    Some help, please?

    Thankyou lots,
    Sam.

  2. #12
    Join Date
    Feb 2007
    Location
    Atlanta, GA
    Beans
    18
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: [howto] Mount your Box.Net account using WebDAV

    I just spent most of today trying to figure this out on my own. So, here's my solution.

    First, I assume you've installed the davfs2 package. If you haven't use the following command:

    Code:
    sudo apt-get install davfs2
    By default this package is installed so that only root can mount davfs volumes. To mount as other users, you need to set the SUID bit for /sbin/mount.davfs and designate a group whose members can mount davfs volumes. To set the SUID bit, use this command:

    Code:
    sudo chmod u+s /sbin/mount.davfs
    You then need to configure davfs so that only members of the group "users" can mount davfs volumes. The config file for davfs is: /etc/davfs/davfs.conf Edit however you like, but to use gedit:

    Code:
    gksudo gedit /etc/davfs2/davfs2.conf
    There should be a line something like:

    Code:
    dav_group $group
    This should be changed to:

    Code:
    dav_group users
    Now, you should add your user to the users group:

    Code:
    sudo addgroup your-user users
    Now add something like the following line to your /etc/fstab

    Code:
    http://<local_server_ip>/dav/sam/    /home/sam/dav    davfs    rw,user,noauto    0    0
    Here, I used your examples for the webDAV server and the mountpoint. davfs is the filesystem type. rw,user,noauto are the options. user is the key option here. It allows users other than root to mount the volume. rw for read/write and noauto means it won't mount on startup.

    At this point, I needed to restart my computer before anything would work.

    When you get back to the prompt, all you need to do is:

    Code:
    mount /home/sam/dav
    And you should be good to go. If you have any questions, please ask. I'm new to these forums too, but I hope I've explained well.

  3. #13
    Join Date
    Feb 2007
    Beans
    8

    Re: [howto] Mount your Box.Net account using WebDAV

    Hey Joshkidd,

    Thankyou loads!! That worked amazing! =]
    You rock, and yes you explained it perfectly.

    Thankyou again!
    Sam.

  4. #14
    Join Date
    Oct 2006
    Beans
    2

    Re: [howto] Mount your Box.Net account using WebDAV

    Hi,

    Mount works great for me, but each time I try to write or read something (by nautilus or by a term), I get "I/O error" (nothing else....just "I/O error").

    Does anybody have the same error ? Or a solution...

    Thanks

    Ouli

  5. #15
    Join Date
    Feb 2007
    Beans
    8

    Re: [howto] Mount your Box.Net account using WebDAV

    Maybe the I/O Error is to do with either a server or connection error?
    You can try http://test.webdav.org/ to see if its a server error.

    Also you could try and recompile davfs2 to see its its a client error, or try cadaver which may give you a more detailed error message?

    Thanks,
    Sam.

  6. #16
    Join Date
    Oct 2006
    Beans
    2

    Re: [howto] Mount your Box.Net account using WebDAV

    Quote Originally Posted by iamacarpetlicker View Post
    Maybe the I/O Error is to do with either a server or connection error?
    You can try http://test.webdav.org/ to see if its a server error.
    I can read and write on test server

    Also you could try and recompile davfs2 to see its its a client error, or try cadaver which may give you a more detailed error message?
    I tried the last version of davfs2, same problem.
    But cadaver works fine, I'm able to put or get a file.

    I discovered that with davfs I can create a folder. No file, only folders.

    That's quite strange, I didn't find anything one the web about.

    Thanks

    Ouli

  7. #17
    Join Date
    Jun 2007
    Beans
    19

    Re: [howto] Mount your Box.Net account using WebDAV

    I have a similar problem.

    I can mount boxnet ok, but I can't save any file to the folder. I followed all the instructions in the thread but can't get it to work.

    Any ideas?

    Thanks!

    Phil.

  8. #18
    Join Date
    Sep 2007
    Beans
    1

    Re: [howto] Mount your Box.Net account using WebDAV

    Exactly, the same issue.

    I can't add/manage files. Most of the time I am told that the "file already exists" (cp in command line). In nautilus, it looks like I don't have write privileges.However I can create folders???

    The problem remains with davfs2 1.2.2...

    Works fine with cadaver.

    Any help?

    euphrate_ylb
    -------
    http://www.fbollon.net

  9. #19
    Join Date
    Oct 2006
    Location
    Edinburgh - Scotland
    Beans
    16
    Distro
    Kubuntu 6.10 Edgy

    Re: [howto] Mount your Box.Net account using WebDAV

    I'm having the same problem where i can create folders via a mounted webdav folder but if i try to create a file it says "file exists" (when it really doesn't) or i/o error.

    Cadaver works fine.

    Anyone else found this problem
    Just think how stupid the average person is........ Then consider the fact that half of them are even more stupid than that!

  10. #20
    Join Date
    Jun 2006
    Location
    Madrid
    Beans
    111
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [howto] Mount your Box.Net account using WebDAV

    I have the same issue (can create folders but no files). Does anyone find a solution or a workarround for this?

Page 2 of 6 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •