Operating System - HP-UX
1855030 Members
4574 Online
104109 Solutions
New Discussion

dtcm: permission denied ?

 

dtcm: permission denied ?

Whenever I try to put an entry into the
calendar (dtcm, I think) on my HPUX 11.00
machine, I get a permission denied message.
Into which directory is this program trying
to scribble?

Thanks in advance.
Kathryn
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: dtcm: permission denied ?

sounds like a permissions problem ;) this may help as may dr_dt ... its good on permissions ?

dtcm, the calendar program for CDE, consists of a client (dtcm) and
a server (rpc.cmsd) that communicates using an RPC protocol. dtcm
has the ability to allow different users access to calendar
information, such as the ability to view individual entries, times,
and so on.

This security is implemented within the database itself, which is
stored in /var/spool/calendar/callog. where is the
name of the user the calendar belongs to. When a calendar is
created, there is a special user called "world" that is created
and given some default access. In normal operation, this user's
permissions are OR'd with any other user's permissions. When the
"world" user does not exist in the database, only listed user's
permissions are used. If the user's userid does not match the
user listed, then they are denied access.

When a calendar file, located in /var/spool/calendar/callog.user
is created, it is created with only one set of access lists. This
is the user 'world' with access rights of 'view public entries'.
The rights are a combination of both a listed user and the world
user. The format of the access list is:

user@system:flags

where flags are bit fields that establish access. The meaning of
8206 for example is View access for Public, SemiPrivate, and Private.

Here is the entry for a 'stock' callog file:

callog.zf1ms67.orig:(calendarattributes ("-//XAPIA/CSA/CALATTR//NONSGML
Access List//EN","10:access_list","world:2")

The default access for world is View access for Public entries.

- if the access_list does not have an entry for a given user,
then the user is granted only what world has

- if the access_list has neither access for the user nor
for world, then access is denied.

You should able to work around the problem. Add an entry to the callog
database by giving the user 'world' access rights to View Public,
Private, and Semi-Private documents.

Re: dtcm: permission denied ?

Great, thanks! Things are working better now,
though I am still getting a message which says:
"Could not initialize tooltalk". (I can now
put appointments into the calendar, though I
don't think that alarms, etc are working)
Another permissions problem? (dr_dt did not
find anything)

Re: dtcm: permission denied ?

Correction: Actually, it appears that the
alarms/popups do work, but I am still getting
the tooltalk error message.

Kathryn