bibledit-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[be] [ bibledit-Feature Requests-1786171 ] Check file permissions on sta


From: SourceForge.net
Subject: [be] [ bibledit-Feature Requests-1786171 ] Check file permissions on startup
Date: Thu, 17 Apr 2008 09:46:32 -0700

Feature Requests item #1786171, was opened at 2007-09-01 08:08
Message generated for change (Settings changed) made by teus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=658624&aid=1786171&group_id=111189

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Teus Benschop (teus)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check file permissions on startup

Initial Comment:
Problems have been reported where Bibledit refuses to startup or to save the 
configuration, and these problems started to surface after the user had 
manually copied the .bibledit directory to his newly installed linux system. It 
would be helpful if bibledit could check on startup whether it has enough 
permissions to do all of it's duties. If not, it should try to fix that. If 
that fails, it should give a message about the problem, and bail out.


----------------------------------------------------------------------

Comment By: Teus Benschop (teus)
Date: 2007-09-05 08:24

Message:
Logged In: YES 
user_id=890881
Originator: YES

It seems that the chown and chgrp did the trick.

----------------------------------------------------------------------

Comment By: Teus Benschop (teus)
Date: 2007-09-03 07:56

Message:
Logged In: YES 
user_id=890881
Originator: YES

 Hi Teus,

Mine is much different. I booted up my system today, and I downloaded and
installed the new *.19 version, but have not run BE yet today.
I will paste my results below yours. I guess that one of the main
differences I see is that I set the group to be "users" rather than "oreo,"
my user name.

I will hold off on doing anything else about permissions until I hear back
from you.
Thanks so much!

Phil



Teus Benschop wrote:
> Hi Phil,
>
> What is the output of this command?
>
> ls -la | grep bibledit
>
> On my system (a working system) it is:'
>
> drwxr-xr-x 10 teus teus       4096 2007-08-11 17:49 .bibledit
> drwxr-xr-x 14 teus teus       4096 2007-09-01 00:00 .bibledit_temp
>
address@hidden:~$ ls -la | grep bibledit
drwxrwxr-x  10 oreo users     4096 2007-06-08 11:06 .bibledit
drwxrwxrwx  12 oreo oreo      4096 2007-09-01 09:35 bibledit-2.7.19
-rw-r--r--   1 oreo oreo   2424175 2007-09-01 09:26
bibledit-2.7.19.tar.gz
srwxr-xr-x   1 oreo oreo         0 2007-08-31 10:20
.bibledit.bibletime.socket
srwxr-xr-x   1 oreo oreo         0 2007-08-31 10:20 .bibledit.bin.socket
srwxr-xr-x   1 oreo oreo         0 2007-08-31 10:20
.bibledit.subversion.socket
drwxrwxrwx  14 oreo users     4096 2007-08-31 10:20 .bibledit_temp

>
> And what is the output of this command?
>
> ls -la .bibledit
>
> On my system it is:
>
> total 48
> drwxr-xr-x 10 teus teus  4096 2007-08-11 17:49 .
> drwxr-xr-x 72 teus teus 12288 2007-09-01 08:00 ..
> drwxr-xr-x  2 teus teus  4096 2007-08-31 19:27 configuration
> drwxr-xr-x  2 teus teus  4096 2007-08-31 19:27 notes
> drwxr-xr-x  2 teus teus  4096 2007-06-23 17:39 pictures
> drwxr-xr-x 22 teus teus  4096 2007-08-31 01:04 projects
> drwxrwxr-x  2 teus teus  4096 2007-06-23 16:39 references
> drwxr-xr-x  2 teus teus  4096 2007-08-31 19:27 stylesheets
> drwxr-xr-x 22 teus teus  4096 2007-08-31 01:04 subversion
> drwxr-xr-x  2 teus teus  4096 2007-06-23 04:47 templates
address@hidden:~$ ls -la .bibledit
total 40
drwxrwxr-x 10 oreo users 4096 2007-06-08 11:06 .
drwxr-xr-x 84 oreo oreo  4096 2007-09-01 13:26 ..
drwxrwxrwx  2 oreo users 4096 2007-08-30 20:42 configuration
drwxrwxr-x  2 oreo users 4096 2007-08-30 20:42 notes
drwxrwxr-x  2 oreo users 4096 2007-06-08 11:06 pictures
drwxrwxr-x 27 oreo users 4096 2007-08-29 19:56 projects
drwxrwxr-x  2 oreo users 4096 2007-06-08 11:03 references
drwxrwxr-x  2 oreo users 4096 2007-08-30 20:42 stylesheets
drwxrwxr-x 27 oreo users 4096 2007-08-28 10:17 subversion
drwxrwxr-x  2 oreo users 4096 2007-06-08 11:04 templates

>
> And what about
>
> ls -la .bibledit_temp
>
> On my system it is:
>
> total 252
> drwxr-xr-x 14 teus teus  4096 2007-09-01 00:00 .
> drwxr-xr-x 72 teus teus 12288 2007-09-01 08:10 ..
> drwxr-xr-x  2 teus teus  4096 2007-07-28 19:12 backup
> -rw-r--r--  1 teus teus 16832 2007-08-31 19:27 bibledit.log
> -rw-r--r--  1 teus teus 16832 2007-08-31 19:22 bibledit.log.old
> -rw-r--r--  1 teus teus    25 2007-08-31 19:22 bibletime.log
> -rw-r--r--  1 teus teus    25 2007-08-31 19:10 bibletime.log.old
> -rw-r--r--  1 teus teus  9890 2007-07-30 19:28 charactercount.html
> drwxr-xr-x  2 teus teus  4096 2007-06-23 16:44 mechon-mamre
> -rw-r--r--  1 teus teus 20524 2007-07-30 19:36 nt-ot-quotations.html
> drwxr-xr-x  6 teus teus  4096 2007-08-18 09:42 opendocument
> drwxr-xr-x  2 teus teus  4096 2007-06-23 17:22 parallelbible
> -rw-r--r--  1 teus teus 72263 2007-07-30 19:36 parallelpassages.html
> drwxr-xr-x  2 teus teus  4096 2007-08-21 20:27 parallelreferences
> drwxr-xr-x  2 teus teus  4096 2007-08-29 14:45 project
> -rw-r--r--  1 teus teus   728 2007-07-30 19:35 referenceinventory.html
> drwxr-xr-x  2 teus teus  4096 2007-06-23 16:44 references
> -rw-r--r--  1 teus teus  3072 2007-08-31 19:27 references.sqlite3
> drwxr-xr-x  2 teus teus  4096 2007-08-09 14:27 resource_viewer
> -rw-r--r--  1 teus teus   183 2007-08-31 19:27 subversion.log
> -rw-r--r--  1 teus teus   396 2007-08-31 19:22 subversion.log.old
> drwxr-xr-x  4 teus teus  4096 2007-08-18 09:56 sword
> -rw-r--r--  1 teus teus  1432 2007-08-18 09:57 sword_osis_input.txt
> drwxr-xr-x  2 teus teus  4096 2007-06-23 16:44 templates
> -rw-r--r--  1 teus teus  1308 2007-07-30 06:50 usfmcount.html
> drwxr-xr-x  2 teus teus  4096 2007-09-01 00:00 usfm-export
> -rw-r--r--  1 teus teus  1036 2007-07-30 19:35 wordinventory.html
> drwxr-xr-x  8 teus teus  4096 2007-08-09 19:05 xep
address@hidden:~$ ls -la .bibledit_temp
total 11852
drwxrwxrwx 14 oreo users    4096 2007-08-31 10:20 .
drwxr-xr-x 84 oreo oreo     4096 2007-09-01 13:26 ..
drwxrwxrwx  2 oreo users    4096 2007-07-15 02:15 backup
-rw-r--r--  1 oreo oreo      347 2007-08-31 22:23 bibledit.log
-rw-r--r--  1 oreo oreo      491 2007-08-30 20:43 bibledit.log.old
-rw-r--r--  1 oreo oreo       25 2007-08-31 10:20 bibletime.log
-rw-r--r--  1 oreo oreo       25 2007-08-30 09:34 bibletime.log.old
-rw-rw-rw-  1 oreo users   12288 2007-05-23 19:55 bibletime.sql
-rw-rw-rw-  1 oreo users       0 2006-05-24 09:37 check.err
-rw-rw-rw-  1 oreo users    3641 2006-05-24 09:37 check.out
-rw-rw-rw-  1 oreo users     118 2006-08-30 10:45 formatter.log
-rw-rw-rw-  1 oreo users    2324 2006-06-28 11:18
indexer_categorized_outputfile
-rw-rw-rw-  1 oreo users     183 2006-06-28 11:18 indexer_inputfile
-rw-rw-rw-  1 oreo users    1424 2006-06-28 11:18 indexer_raw_outputfile
drwxrwxrwx  2 oreo users    4096 2006-10-10 12:07 indexes
-rw-r--r--  1 oreo oreo        0 2007-08-28 14:22 indialoghelp.html
-rw-rw-rw-  1 oreo users  755712 2006-06-28 14:47 obtkita.idx3
drwxr-xr-x  6 oreo oreo     4096 2007-08-15 16:07 opendocument
drwxr-xr-x  2 oreo oreo     4096 2007-08-28 10:15 parallelreferences
drwxrwxrwx  2 oreo users    4096 2006-10-10 12:07 project
drwxrwxrwx  2 oreo users    4096 2006-10-10 12:07 references
-rw-r--r--  1 oreo oreo     3072 2007-08-30 20:42 references.sqlite3
-rw-rw-rw-  1 oreo users   13312 2006-08-03 21:34 references.sqlite3.1
drwxrwxrwx  2 oreo users    4096 2007-08-30 09:34 resource_viewer
-rw-rw-rw-  1 oreo users    3072 2007-05-03 19:58 session.sqlite
-rw-r--r--  1 oreo oreo      194 2007-08-30 20:42 subversionjobs.xml
-rw-r--r--  1 oreo oreo        0 2007-08-31 10:20 subversion.log
-rw-r--r--  1 oreo oreo  3054341 2007-08-30 20:42 subversion.log.old
drwxrwxrwx  2 oreo users    4096 2007-01-03 10:35 svn
drwxr-xr-x  4 oreo oreo     4096 2007-08-21 12:50 sword
-rw-r--r--  1 oreo oreo  6345933 2007-08-21 12:50 sword_osis_input.txt
drwxrwxrwx  2 oreo users    4096 2007-05-31 14:30 templates
drwxrwxrwx  2 oreo users    4096 2007-08-08 10:03 usfm-export
-rw-rw-rw-  1 oreo users      17 2006-10-30 09:29 which.txt
-rw-rw-rw-  1 oreo users 1806343 2007-04-03 22:33 wordinventory.html
drwxrwxrwx  8 oreo users    4096 2006-10-10 12:07 xep

>
>
> Regards,
>
> Teus.
>
> oreo wrote:
>> Teus,
>>
>> Looks like I'll have to do what you say.
>> Yesterday BE started for me without trouble.
>> I haven't rebooted and tried to run it again today and it refuses.
>>
>> I did go the the View/Resource Viewer and have numerous times deleted
files there.
>> It doesn't get remembered.
>>
>> So looks like permissions are the problem.
>>
>> Phil
>>
>> Teus Benschop wrote:
>>> Hello Phil,
>>>
>>> Something in-between the text below.
>>>
>>> oreo wrote:
>>>> Bibledit still is giving me problems with saving my place.
>>>> Remember how you told me recently to delete the configuration.1.xml
file?
>>>> When I did that, Bibledit wouldn't start.
>>>> When I deleted that file, BE starts fine, but doesn't save the file
anymore.
>>>>
>>>> When I changed the permissions on the folder, BE did create the file
and save its place at least once.
>>>> When it came up the first time, it still loaded three blank files in
Firefox.
>>>> So this time I edited the config file directly taking out the bogus
three lines.
>>>>
>>> Another way of solving this is in menu View / Resource Viewer, to
delete the three offending lines, and than to press Ok. Next time that
Bibledit starts, it should not open these three, though it leaves whatever
has been opened in Firefox before.
>>>
>>>> Then I started BE and loaded up three projects, hoping that it would
remember where I was and load the projects. Once again BE refused to load.
When it refuses to load, it says that the program is running already, do I
want to run another copy. But even when I said yes, it would not load.
>>> That sounds strange, and it will be interesting to get this solved.
Could it be related to what you write below about the permissions on your
folders?
>>>>
>>>> So I have again gotten configureation.1.xml out of the way, and BE
has loaded again so I can work— but without saving my preferences and
files, of course.
>>>> Bibletime has not been moving in sync with BE, even though it showed
in the log as being connected.
>>>>
>>>> All this has probably happened because I totally reinstalled Linux on
my computer and have some permissions in my home folder messed up due to
copying .bibledit and other folders to there. Please let me know what the
permissions should be on all BE folders and files. And if you can give me
the terminal command to fix it, that would be even better.
>>>>
>>> I don't know exactly what permissions are to be set on those folders.
But if you were to manually move .bibledit to a safe place, and then start
Bibledit, it would create all those folders. You would be able to look at
their permissions, and then copy these to your original .bibledit, and all
the subfolders.
>>>> Just now when I tried to fix the BibleTime updating problem, I tried
changing Preferences > Syncronization. But then the whole program froze.
>>>>
>>> Hopefully fixing the permissions solves this too.
>>>> Would it help temporarily if I ran BE as a root user?
>>>>
>>> No, that would not help, and, actually, Bibledit has code not to run
in those cases.
>>>
>>>
>>> Regards,
>>>
>>> Teus.
>>>
>>


----------------------------------------------------------------------

Comment By: Teus Benschop (teus)
Date: 2007-09-01 08:14

Message:
Logged In: YES 
user_id=890881
Originator: YES

Hi Phil,

What is the output of this command?

ls -la | grep bibledit

On my system (a working system) it is:'

drwxr-xr-x 10 teus teus       4096 2007-08-11 17:49 .bibledit
drwxr-xr-x 14 teus teus       4096 2007-09-01 00:00 .bibledit_temp


And what is the output of this command?

ls -la .bibledit

On my system it is:

total 48
drwxr-xr-x 10 teus teus  4096 2007-08-11 17:49 .
drwxr-xr-x 72 teus teus 12288 2007-09-01 08:00 ..
drwxr-xr-x  2 teus teus  4096 2007-08-31 19:27 configuration
drwxr-xr-x  2 teus teus  4096 2007-08-31 19:27 notes
drwxr-xr-x  2 teus teus  4096 2007-06-23 17:39 pictures
drwxr-xr-x 22 teus teus  4096 2007-08-31 01:04 projects
drwxrwxr-x  2 teus teus  4096 2007-06-23 16:39 references
drwxr-xr-x  2 teus teus  4096 2007-08-31 19:27 stylesheets
drwxr-xr-x 22 teus teus  4096 2007-08-31 01:04 subversion
drwxr-xr-x  2 teus teus  4096 2007-06-23 04:47 templates

And what about

ls -la .bibledit_temp

On my system it is:

total 252
drwxr-xr-x 14 teus teus  4096 2007-09-01 00:00 .
drwxr-xr-x 72 teus teus 12288 2007-09-01 08:10 ..
drwxr-xr-x  2 teus teus  4096 2007-07-28 19:12 backup
-rw-r--r--  1 teus teus 16832 2007-08-31 19:27 bibledit.log
-rw-r--r--  1 teus teus 16832 2007-08-31 19:22 bibledit.log.old
-rw-r--r--  1 teus teus    25 2007-08-31 19:22 bibletime.log
-rw-r--r--  1 teus teus    25 2007-08-31 19:10 bibletime.log.old
-rw-r--r--  1 teus teus  9890 2007-07-30 19:28 charactercount.html
drwxr-xr-x  2 teus teus  4096 2007-06-23 16:44 mechon-mamre
-rw-r--r--  1 teus teus 20524 2007-07-30 19:36 nt-ot-quotations.html
drwxr-xr-x  6 teus teus  4096 2007-08-18 09:42 opendocument
drwxr-xr-x  2 teus teus  4096 2007-06-23 17:22 parallelbible
-rw-r--r--  1 teus teus 72263 2007-07-30 19:36 parallelpassages.html
drwxr-xr-x  2 teus teus  4096 2007-08-21 20:27 parallelreferences
drwxr-xr-x  2 teus teus  4096 2007-08-29 14:45 project
-rw-r--r--  1 teus teus   728 2007-07-30 19:35 referenceinventory.html
drwxr-xr-x  2 teus teus  4096 2007-06-23 16:44 references
-rw-r--r--  1 teus teus  3072 2007-08-31 19:27 references.sqlite3
drwxr-xr-x  2 teus teus  4096 2007-08-09 14:27 resource_viewer
-rw-r--r--  1 teus teus   183 2007-08-31 19:27 subversion.log
-rw-r--r--  1 teus teus   396 2007-08-31 19:22 subversion.log.old
drwxr-xr-x  4 teus teus  4096 2007-08-18 09:56 sword
-rw-r--r--  1 teus teus  1432 2007-08-18 09:57 sword_osis_input.txt
drwxr-xr-x  2 teus teus  4096 2007-06-23 16:44 templates
-rw-r--r--  1 teus teus  1308 2007-07-30 06:50 usfmcount.html
drwxr-xr-x  2 teus teus  4096 2007-09-01 00:00 usfm-export
-rw-r--r--  1 teus teus  1036 2007-07-30 19:35 wordinventory.html
drwxr-xr-x  8 teus teus  4096 2007-08-09 19:05 xep


Regards,

Teus.

> One King to rule them all,
> One Son to find them,
> One Blood to cleanse them all,
> And from the dark unbind them.



----------------------------------------------------------------------

Comment By: Teus Benschop (teus)
Date: 2007-09-01 08:12

Message:
Logged In: YES 
user_id=890881
Originator: YES

Teus,

Looks like I'll have to do what you say.
Yesterday BE started for me without trouble.
I haven't rebooted and tried to run it again today and it refuses.

I did go the the View/Resource Viewer and have numerous times deleted
files there.
It doesn't get remembered.

So looks like permissions are the problem.

Phil

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=658624&aid=1786171&group_id=111189




reply via email to

[Prev in Thread] Current Thread [Next in Thread]