LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-22-2008, 02:21 PM   #1
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Permission problem with importing evolution mail from the old .evolution folder


I always forget to use the backup function that evolution provides, but usually I'm fine with just copying the .evolution folder over.

I have a backup from ubuntu 8.04, and I'm now on PCLinuxOS. Both theoretically have the same version of evolution, just slightly modified by the packager.

Since on Ubuntu the user has UID/PID: 1000/1000, and something else for PCLOS - I just did a 'chown -R myname:mygroup .evolution'. I hope that's fine. Doesn't look like any of the files are supposed to belong anyone else but me.
but when evolution starts it puts out various messages that it cannot access the folders.
And rightly so - I can't even cd into the directories


Code:
$ ls -l
total 132
drw-rw-rw- 4 roman roman  4096 Apr  6 22:48 addressbook/
drw-rw-rw- 3 roman roman  4096 Apr  6 22:48 cache/
drw-rw-rw- 5 roman roman  4096 May 13 00:03 calendar/
-rw------- 1 roman roman     2 May 22 21:02 camel-cert.db
-rw-rw-rw- 1 roman roman  3152 Apr  6 22:48 categories.xml
-rw-rw-rw- 1 roman roman 65536 May 22 21:02 cert8.db
-rw-rw-rw- 1 roman roman 16384 May 22 21:02 key3.db
drw-rw-rw- 6 roman roman  4096 May 20 15:53 mail/
drw-rw-rw- 5 roman roman  4096 Apr  6 22:48 memos/
-rw-rw-rw- 1 roman roman 16384 May 22 21:02 secmod.db
drw-rw-rw- 5 roman roman  4096 Apr  6 22:48 tasks/
Code:
$ cd calendar/
bash: cd: calendar/: Permission denied
Code:
su -c 'ls -l calendar'
Password:
total 16
drw-rw-rw- 2 roman roman 4096 May 13 00:03 config
drw-rw-rw- 3 roman roman 4096 Apr  6 22:48 local
-rw-rw-rw- 1 roman roman   68 May 13 00:03 searches.xml
drw-rw-rw- 2 roman roman 4096 Apr  6 22:48 views

So....
What gives?

Last edited by oskar; 05-22-2008 at 02:23 PM.
 
Old 05-23-2008, 07:08 AM   #2
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Diretories need to be executable. chmod them 755 and they're going to work again.
 
Old 05-23-2008, 12:41 PM   #3
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Original Poster
Rep: Reputation: 49
embarassing.
I can't imagine how that happened though.

Since I don't know how to change the permission just for the directories and subdirectories, I just made everything in that folder executable - shouldn't be that much of a problem, right?

That would have been some find -exec job, right?

Nevermind. Evolution seems to work fine now.
Thanks!
 
Old 05-23-2008, 03:19 PM   #4
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Quote:
Originally Posted by oskar View Post
That would have been some find -exec job, right?
Yeah, or xargs instead of exec:
find . -type d -print0 | xargs -0 chmod 755
 
Old 05-23-2008, 08:28 PM   #5
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Original Poster
Rep: Reputation: 49
xargs... that looks useful. I'll try to remember that one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Share/Export mail folder from Evolution VincentB Linux - Newbie 3 03-21-2007 04:29 PM
Importing mail from Evolution to Thunderbird webwolf70 Linux - Software 6 01-22-2006 07:43 PM
Importing mail form Sylpheed-Claws to Evolution? Pebcak Linux - Software 1 08-15-2005 05:33 PM
importing evolution contacts rvqbl Linux - Software 0 04-16-2004 04:24 AM
How do you transfer evolution mail and settings to another computer running evolution cmisip Linux - Software 2 01-10-2003 02:07 PM

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

All times are GMT -5. The time now is 02:16 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