Jürgen Schmitz
Fri, 22 Mar 2002 02:43:01 -0800
---Reply to mail from David Pilgram about XCmail: Addressbook
> Its just that it is not saved to disc. Even closing the addressbook and
> re-opening it does not do the trick. If you quit XCmail, then start it
> again, you get back to the unedited addressbook. In other words, it looks
> as if the addressbook is only written to disc when XCmail closes down.
>
The addressbook is written when closing the addressbook window.
> Problem is seemingly resolved however. Owner was wrong, for some reason.
>
So writing failt. Maybe I should all an dialog for this....
> So that leads to another question: If the user was user1, but the
> addressbook owner was user2, how come XCmail could read it?
>
> Normally if the owner is wrong, it simply overwrites it with a new, blank
> one. That is similar to the problem in sharing addressbooks I experienced
> when I was trying this sort of thing. So if I can find how I can read the
> addressbook with a different owner I am half way there - and I have such an
> addressbook. I can even edit it permanantly (by "chmod 666 addressbook"
> first).
>
> So what I have is an addressbook with owner user2, which can be read by
> user1 using XCmail. But if I copy an addressbook of user3 across (having
> saved the addressbook as something else first!), XCmail of user1 will not
> read it, and will overwrite it with the default. There should not be any
> administrative link between user1, user2 and user3.
>
> One clue may be the automatic addressbook, and sharing common entries;
> user3's addressbook should not have had any common entries (but there may
> have been one or two).
>
> There is something very deep here.....
>
man chmod might help you. Unix file and directory permissions can be quite
confusing! So only changing the permissions of the addressbook file itself
won't be enough because this user needs write access to the directory.
Maybe you should first try it with shell commands (cat >xxxx) and change
owner and/or users so you can see what happens and which errors are
reported.
so long,
Juergen
(Please use the XCmail mailing list "[EMAIL PROTECTED]" if possible
for your questions on XCmail.)
- - - - - - - -
- - - - - - - -
Jürgen Schmitz Author of Xclasses
developer of XCmail
(mailto: [EMAIL PROTECTED])
email: [EMAIL PROTECTED]
Voicebox: 0180/505254-971330
WWW: http://www.js-home.org