LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2023, 02:35 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Rep: Reputation: 28
Root cannot open file it owns


Running 14.2-X86_64 on this server. I installed dirvish vaults for backups in /media/bkup1/ which has 777 perms. Each vault/subdirectory is owned by roor.toot and has 751 perms. In each vault is the text file default.conf with 644 perms.

I'm trying to initialize the vaults, starting with salmo-data1/ using the command, `dirvish --init --vault salmo-data1` and rather than making a copy of /data1 into that vault the message "cannot open config file: default.conf" is returned.

I'm totally stymied understanding why dirvish cannot read that file. I need suggestions and recommendations on finding the source of the problem it it's not permissions.

TIA,

Rich
 
Old 03-25-2023, 03:37 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I am wondering if other Slackware users use this old application... I was about to suggest that you request help in their mailing list, but you already did. Only thing I can suggest is to read their documentation listed in https://dirvish.org/docs.html. Or, of course use a more recent and maintained backup application like restic. It is only available on https://slackbuilds.org for Slackware 15.0 but maybe you could reuse the SlackBuild for 14.2.
 
Old 03-25-2023, 03:58 PM   #3
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by rshepard View Post
Running 14.2-X86_64 on this server. I installed dirvish vaults for backups in /media/bkup1/ which has 777 perms. Each vault/subdirectory is owned by roor.toot and has 751 perms. In each vault is the text file default.conf with 644 perms.

I'm trying to initialize the vaults, starting with salmo-data1/ using the command, `dirvish --init --vault salmo-data1` and rather than making a copy of /data1 into that vault the message "cannot open config file: default.conf" is returned.
Do you run dirvish as root?
 
Old 03-27-2023, 05:20 PM   #4
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
My dirvish restoration notes did not include the fact that the default.conf vile belongs in a dirvish/ subdirectory, not the main vault directory. Fixed now.
 
1 members found this post helpful.
  


Reply

Tags
backup, dirvish, file open



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User who owns file is 1001 instead of root hi_w_50 Linux - General 7 08-14-2007 12:33 PM
LXer: Open Source: The Only Software One Really Owns LXer Syndicated Linux News 0 02-28-2007 04:46 AM
Suddenly root owns everything under /home alxnd Linux - Security 1 05-15-2006 06:29 PM
Who technically owns an open source app? HGeneAnthony General 11 04-27-2006 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration