SOLVED (?): Re: mounting davfs2 on Fedora 24 (can't mount with rw access for user)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I seem to have perhaps unwittingly sort of solved this problem:

I have done the following:

1. sudo mkdir -m 755 /mnt/box

2. then set: 

use_locks 0

in:

/etc/davfs2/davfs2.conf


3. sudo mount -t davfs https://dav.box.com/dav /mnt/box -o rw,user,noauto,uid=USER,file_mode=600,dir_mode=700

Please enter the username to authenticate with server
https://dav.box.com/dav or hit enter for none.
  Username: USERNAME
Please enter the password to authenticate user USERNAME with server
https://dav.box.com/dav or hit enter for none.
  Password:  
/sbin/mount.davfs: Warning: can't write entry into mtab, but will mount the file system anyway

I still get the warning, but now I am able to read and write to it. (The only change I did from what I was doing previously is that I explicitly set my mode to be -m 755 while mkdir-ing /mnt/box.)

I certainly would like the warning to go away, so any suggestions to that effect would be appreciated!


Many thanks and best wishes,
Ranjan



On Sat, 9 Jul 2016 00:00:00 -0500 Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote:

> Hi,
> 
> I am trying to mount a Box.com share using Fedora 24. I install davfs2 using dnf and try the following:
> 
> sudo ./mount-box.sh
> 
> where mount-box.sh contains the following:
> 
> mount -t davfs https://dav.box.com/dav /mnt/box -o rw,user,noauto,uid=USER,file_mode=600,dir_mode=700
> 
> (In the above USER is my user on my local machine.)
> 
> I then try out the following:
> 
> $ sudo ./mount-box.sh 
> Please enter the username to authenticate with server
> https://dav.box.com/dav or hit enter for none.
>   Username: USERNAME
> Please enter the password to authenticate user USERNAME with server
> https://dav.box.com/dav or hit enter for none.
>   Password:  
> /sbin/mount.davfs: Warning: can't write entry into mtab, but will mount the file system anyway
> 
> 
> Thus, I am able to mount it anyway, however, as user, I do not have any read or write access. I can not even see the directory as a mortal user. Root of course, has full access. Btw, df has it listed:
> 
> ....
> https://dav.box.com/dav fuse      910T   12K  910T   1% /mnt/box
> 
> 
> So, my question is: how do I mount such that I get read-write access as a mortal user?
> 
> Thanks very much for your time and help in answering this question!
> 
> Best wishes,
> Ranjan
> 
> ____________________________________________________________
> FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
> Check it out at http://www.inbox.com/earth
> 
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


-- 
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux