On Sat, Jul 09, 2016 at 09:25:49AM -0500, Ranjan Maitra wrote:
> 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!
> 

Is /etc/mtab a file or a symlink to /proc/mounts?  The mount
manpage says it should be the link due to userspace problems.

Alrernatively, add 2> /dev/null   or use --no-mtab.

jon
-- 
Jon H. LaBadie                  jo...@jgcomp.com
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
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

Reply via email to