Re: [Courier-imap] shared folders - let users create folder

2008-04-04 Thread thoralf
hi Sam,

Sam Varshavchik wrote:
 Yes, with file-based permissions folders, you must always use the 
 maildirmake command to create any shared folders. You cannot create 
 filesystem permissions-based shared folders in any other way.
thank you for your answer.

so, file system-based folders are not an option ...

is there a way to set default permissions on virtually shared folders? 
i.e., is it possible to define a default acl for a shared folder that 
will be handed down to all user-created sub-folders underneath this 
shared folder?


if this is not the case, the only thing left i can image to accomplish 
the desired setup would be the following:
- create a specific account for each group that need their own shared 
folder, say shared-group1, shared-group2 etc.
- create a maildir for each of these accounts that will be a container 
holding all the shared dirs for the respective group
- set acl to anyone:aceilrstwx for these folders and finally
- revoke access rights for users not belonging to the group via the file 
system, ie. chown -R :group1 shared-group1/ and chmod -R 770 shared-group1/

now, that would be nasty, wouldn't it?

with kind regards,
thoralf.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


Re: [Courier-imap] shared folders - let users create folder

2008-04-03 Thread Sam Varshavchik

thoralf writes:


hi there,

trying to set up shared folders in a way that access rights to them are 
determined based on the users' primary group memberships, i'm currently 
hitting a wall regarding the creation of new folders by said users. i 
just cannot figure out a way to automagically grant access to a folder 
created by user a in a shared folder to user b, which has the same gid 
as user a.


here's what i tried:

- file-based permissions via /etc/courier/maildirshared: no user can 
create any dirs - did i overlook something obvious here?


Yes, with file-based permissions folders, you must always use the 
maildirmake command to create any shared folders. You cannot create 
filesystem permissions-based shared folders in any other way.




pgpqraDcuqULm.pgp
Description: PGP signature
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap