maindavfs2 - Support: sr #109188, secrets file not used

 
 

sr #109188: secrets file not used

Submitter:  Jeroen <jeroenst>
Submitted:  Fri 25 Nov 2016 06:50:55 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 25 Nov 2016 07:02:44 PM UTC, comment #3: 

This isn't a bug.

When you build a program from the sources and install them it will be installed in the /usr/local tree and not in /usr. This is to keep it apart from the packages of your distribution and the package management system will not touch the /usr/local tree.

You can change this when you configure the package with option --prefix (see ./configure --help) if you need to (not recommended).

"man mount.davfs" will show you all the files used by davfs2.

Werner

- <_71007>
Fri 25 Nov 2016 06:50:55 PM UTC, comment #2: 

This item has been reassigned from the project davfs2 bugs tracker to your tracker.

The original report is still available at bugs #49691

Following are the information included in the original report:

[field #0]                  Item ID: 49691
[field #1]                 Group ID: 10199
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #8]                         : Unknown bugs Field Display Type
[field #9]                 Category: None
[field #10]             Submitted by: jeroenst
[field #11]              Assigned to: wbaumann
[field #12]             Submitted on: Thu 24 Nov 2016 09:26:40 AM GMT
[field #13]                  Summary: secrets file not used
[field #14]      Original Submission: I compiled and installed the latest davfs2 version 1.5.4 on Ubuntu.

With version 1.5.2 the ~/.davfs2/secrets file was used but now I get a prompt to enter the credentials manually.

To get it work I now use this workaround:

echo -ne 'username\npassword\n' | mount -t davfs https://storage.stackstorage.com/remote.php/webdav/ /mnt/stack

But imo davfs2 should use the secrets file instead like 1.5.2 did.
[field #16]               Item Group: None
[field #17]                   Status: None
[field #18]        Component Version: None
[field #19]         Operating System: None
[field #20]          Reproducibility: None
[field #21]               Size (loc): None
[field #22]            Fixed Release: None
[field #23]          Planned Release: None
[field #24]                   Effort: 0.00
[field #28]                 Priority: 5 - Normal
[field #31]         Percent Complete: 0%
[field #33]                  Release: None
[field #58]     Custom Select Box #1: None
[field #59]     Custom Select Box #2: None
[field #60]     Custom Select Box #3: None
[field #61]     Custom Select Box #4: None
[field #62]     Custom Select Box #5: None
[field #63]     Custom Select Box #6: None
[field #64]     Custom Select Box #7: None
[field #65]     Custom Select Box #8: None
[field #66]     Custom Select Box #9: None
[field #67]    Custom Select Box #10: None

- <_71007>
Thu 24 Nov 2016 06:40:58 PM UTC, comment #1: 

It seems when running a make install the default location for the settings file is /usr/etc/dav2fs instead of /etc/dav2fs while the dav2fs from apt-get uses /etc/dav2fs.

This confused me.

Jeroen <jeroenst>
Fri 25 Nov 2016 06:50:55 PM UTC, original submission:  

I compiled and installed the latest davfs2 version 1.5.4 on Ubuntu.

With version 1.5.2 the ~/.davfs2/secrets file was used but now I get a prompt to enter the credentials manually.

To get it work I now use this workaround:

echo -ne 'username\npassword\n' | mount -t davfs https://storage.stackstorage.com/remote.php/webdav/ /mnt/stack

But imo davfs2 should use the secrets file instead like 1.5.2 did.

Jeroen <jeroenst>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Updated the item)
  • -email is unavailable- added by jeroenst (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-26 _71007 Open/ClosedOpen Closed
    2016-11-25 _71007 StatusNone Done
        Assigned toNone _71007
    2016-11-25 _71007 Reassign itemdavfs2, bug #49691 davfs2, sr #109188

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code