IUBio GIL .. BIOSCI/Bionet News .. Biosequences .. Software .. FTP

ACeDB 4_9f: permissions

Ed Griffiths edgrif at sanger.ac.uk
Thu Feb 28 04:26:01 EST 2002


Brian,

> So far, the only thing that seems NOT to work
> is reading models. Both 'Edit --> Read Models'
> and 'Edit --> Read Models and Full Index'
> give an error window that says
> 
> Sorry, only the administrator owning
> the $(ACEDB) directory can modify
> the models

Almost certainly your problem is that you are not the _owner_ of the
wspec/passwd.wrm file. I have just improved the comments in our sample
wspec/passwd.wrm to make this more clear. The special thing about the database
administrator is that they own the passwd.wrm file.

I recently added an option to acedb to allow you to say that the group ownership
of the passwd.wrm file is the thing for acedb to check so that you can have
multiple administrators by adding userids to the group that owns the passwd.wrm
file. Here is the description of the option from our sample wspec/database.wrm:

//
// GROUP_ADMIN By default only the person who owns the passwd.wrm file
//   can reinitialise the database. This can be a pain so if you uncomment
//   this option, then any user in the unix group for the passwd.wrm
//   file will be allowed to reinitialise.
//

Let me know if you are still having problems having looked at the above.

> I will say that although I own the directories
> in which my database is installed (including wspec),
> some of the directories (wdoc, wgf, whelp, wquery,
> wscripts and wtools) are symbolic links to a central
> installation of ACeDB that I don't own, but is world-readable.
> The idea is that each lab can have their own
> databases, but using one central installation of
> most of the ACEDB files, such as scripts, documentation,
> binaries etc.

This should not be a problem but if you are sharing wspec then as per above the
ownership of the actual wspec/passwd.wrm will be the determining factor.

Hope that helps...cheers Ed

-- 
 ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|        Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus,  |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: edgrif at sanger.ac.uk  Tel: +44-1223-494780  Fax: +44-1223-494919 |
 ------------------------------------------------------------------------





More information about the Acedb mailing list

Send comments to us at archive@iubioarchive.bio.net