LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2011, 02:04 PM   #1
frrobert
Member
 
Registered: Mar 2008
Location: South Bend, IN
Distribution: Ubuntu 18.04 & 20.04
Posts: 42

Rep: Reputation: 1
CrashPlan+


I am running crashplan+ on Ubuntu 10.04 and I noticed an issue.

I am backing up my computer to 2 locations.
The first being their online servers. That works fine.

The second location is a folder.

This is where the issue is.

If the mount point is /media/sg160 and crashplan stores the files in /media/sg160/crashplan everything works fine if the drive is connected.

The problem is if the drive is a removable drive or a network drive that for some reason currently is not accessible rather then generating an error and not running the backup it creates the directory crashplan under the directory /media/sg160/ and starts a fresh backup storing the backup under the new directory.

By the look at the crashplan forum this has been an ongoing issue for over a year and so far no fix.

The only work around I could find was a creating a shell script that turns off crashplan if the drive is unaccessible. The only problem is that also turns off the other backup to crashplan server.

Has any one come up with a work around for the problem?
 
Old 03-22-2011, 02:45 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
How about if you make the /media/sg160 with permissions of 400, then when sg160 is available it will mount over the directory and if sg160 is not available then crashplan will not be able to write to the directory.
 
Old 03-22-2011, 02:55 PM   #3
frrobert
Member
 
Registered: Mar 2008
Location: South Bend, IN
Distribution: Ubuntu 18.04 & 20.04
Posts: 42

Original Poster
Rep: Reputation: 1
Andrew,

I tried something similar this morning. I used 444 and for some reason I could not see the files in the directory.

So the question is:
If I make the mountpoint /media/sg160/ 444 How do I make the files on the drive readable and writable with a permission like 777?

the line in my fstab for the removable drive which is ext3 is

/dev/sdb1 /media/sg160 ext3 defaults 0 2

Last edited by frrobert; 03-22-2011 at 06:46 PM.
 
Old 03-23-2011, 07:08 AM   #4
frrobert
Member
 
Registered: Mar 2008
Location: South Bend, IN
Distribution: Ubuntu 18.04 & 20.04
Posts: 42

Original Poster
Rep: Reputation: 1
Andrew,

I tried your solution this morning and this time when I reduced the permission on the directory the drive mounted and I was able to see the drives files. So I don't know what happed yesterday.

The problem is now with reduced permissions the directory is still writable by root. I set the directory to 400 and root could still write to it.
 
Old 03-23-2011, 07:20 AM   #5
Latios
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 115

Rep: Reputation: 21
create a soft link to /dev/null
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:17 PM.

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