[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::mailworks-unix

Title:Mailworks-unix
Notice:V2.0.4 now available -- see Note 4.375
Moderator:TAMARA::NEUMAN::Neumann
Created:Wed Jun 02 1993
Last Modified:Tue Jun 03 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1384
Total number of notes:5851

1354.0. "shared drawer & group access" by OSOSPS::NAGAO (Yukari Nagao, West Japan SPS / CS) Wed Feb 26 1997 01:00

Hello.

I have a question about shared drawer and its group access.

I have a following shared drawer.
Message store with alias test is on host osoapc, with pathname 
/usr/users/nagao/dmw/test/test.po
    Owner: nagao    Owner's Group: dmw_test    Trust User Name: YES
    User Rights: drvwa     Group Rights: drvw     Other's Rights: d
 
I added new user(named taro) using DMW-add script, and edited /etc/group file 
to join dmw-test group. 
/etc/group is following.
dmw_test:*:10009:nagao,taro

But new_user cannot access the shared drawer.
When he add this drawer, permission error occur.

It's record mcslog...
-----
Wed Feb 26 11:46:19 1997, Program: /usr/opt/DMW/bin/mcs, Pid:4424, User: 
root, Type: Err, Sev: SeriousError
        Version: 2.0, Version Date: Mon Feb 17 17:25:07 JST 1997
        Module: 15, Error: 36
User taro does not have permission to perform the requested message
store operation on osoapc.oso.dec.com:/usr/users/nagao/dmw/test/test.po, 
(Error
MSNoRight2).

To see permissions for the message store,
select Configure MS from the File menu.
Any user with Administer rights can change permissions.
Or, log in as superuser to the machine with the message
store and run MailWorks.
   
---------

When I re-configure MS using Motif Client, new_user can access this drawer.
Can't it effect only changing group file?  

How can I add group member?
When I add group member, must re-configure MS???

 
Regards for any help,

-Yukari Nagao /SPS/MCS/Japan

T.RTitleUserPersonal
Name
DateLines
1354.1Group permissions stored inside message storeKOALA::PAWELKOThu Feb 27 1997 16:0732
Hello Yukari,

    MailWorks uses its own permissions, those stored within the
message store file itself, to control access to message stores (drawers).
Changing the /etc/group file will not affect access control to MailWorks
message stores.

    After adding user taro, do a "confms taro" command to see the
details of user taro's message store.  (You will need superuser
privileges to do this and you should have /usr/opt/DMW/clbin in your
path.)  Make sure that the owner's group for taro is also "dmw_test".   
If it is not, change the owner's group using the confms command as follows:

# confms taro -ownergroup dmw_test

This should allow user taro to add user nagao's test.po drawer.  This
command will not change user taro's UNIX account group.

>How can I add group member?
>When I add group member, must re-configure MS???

By default, the DMW-ADD script adds users to the "users" group.  So after
adding a new user to a group other than "users", you will need to do the 
confms command listed above.   Or, you can try modifying the
/usr/opt/DMW/bin/DMW-add-ms script to change the "DEFGROUP=users"
line.   But I have not tried this, so I cannot guarantee that it will
work.

Hope this information helps,

     Mary