mvnForum Homepage

Print at Dec 21, 2014 5:10:14 AM View all posts in this thread on one page
Posted by jdhanley at Nov 7, 2010 4:01:11 PM
Can't edit in "Personal" commentary module
When I right click on Commentaries-->English-->Personal, "Edit" is greyed out and so I can't select it to add personal notes.

Any ideas why it is greyed out?

I am using Ubuntu Linux 10.10

Thanks!

Posted by alvanx at Jan 9, 2011 8:33:44 AM
Re: Can't edit in "Personal" commentary module
I can think of one thing. It may be that you don't have "write" access to the folder that the module is in.

SWORD modules are normally stored in the directory /home/[username]/.sword/ on Linux.

However, some distros prepackage not only SWORD, but a few common modules as well. If you install those from the Ubuntu repos, they will be installed somewhere that only root has permission to write to. If you installed the personal commentary module from your package repositories rather than from within BibleTime, that is probably why.

Posted by sancol52 at May 15, 2011 2:51:47 PM
Re: Can't edit in "Personal" commentary module
Just encountered the same problem. Can anyone help?

Posted by jdhanley at May 15, 2011 7:06:38 PM
Re: Can't edit in "Personal" commentary module
I can't quite remember what I did to get this working, but try reinstalling the Personal commentary module.

Also, try installing it as a user rather than root.

I believe it does have something to do with permissions. If it is installed as root, the user may not have permissions.

You may also try reinstalling the entire program as user rather than root.

Sorry I can't be of more help. It was a while ago and I think I just stumbled upon the solution. But I am pretty sure it was a permissions thing.

Posted by abishur at Oct 9, 2013 9:36:46 PM
Re: Can't edit in "Personal" commentary module
If you're like me and it has installed the personal commentary to /usr/share/sword/modules/comments/rawfiles/personal then the solution is to go into that directory and type in

"sudo chown <your_user_name> ./*"

Where you replace <your_user_name> with whatever name you log in as. Make sure you use put a period in front of the forward slash. A DOT FORWARD SLASH STAR means, everything in the current directory, but a FOWARD SLASH STAR means everything. It would only affect files in the root directory, but you still don't want to make that mistake ;-)

You could technically do a chmod on them to something like

"sudo chmod 775 ./*"

Again with a DOT FORWARD SLASH STAR, but I prefer the chown command. Once I did this I was able to edit the files no problem.

If you want to do a group commentary, then you would need to make a group and do a

"sudo chgrp <group_name> ./*"

and then make sure everyone you want to be able to edit the commentary is a member of that group you made

Posted by jdhanley at Oct 10, 2013 6:16:37 AM
Re: Can't edit in "Personal" commentary module
If you're in the directory isn't the dot forward slash ./ redundant?

can't you just use * with your chown?

Eg sudo chown *

Posted by jdhanley at Oct 10, 2013 6:17:08 AM
Re: Can't edit in "Personal" commentary module
If you're in the directory isn't the dot forward slash ./ redundant?

can't you just use * with your chown?

Eg sudo chown *

Posted by abishur at Oct 10, 2013 7:59:13 AM
Re: Can't edit in "Personal" commentary module
If you're in the directory isn't the dot forward slash ./ redundant?

can't you just use * with your chown?

Eg sudo chown *


Absolutely. Even though they mean the exact same thing, I just can't bring myself to be that implicit with path declarations wink

Personally when I did it I actually typed

sudo chown <your_username> /usr/share/sword/modules/comments/rawfiles/personal/*

(obviously replacing <your_username> with your actual username ie sudo chown tom ...)

And of course this is working with the assumption that you're on an Linux distro that uses sudo and that your files are installed in the /usr/share/sword directory.

I just wrote an answer that I felt would be easier for people to use smile