[Courier-imap] shared folders - let users create folder
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? - virtual shared folders: access rights need to be set explicitly via maildiracl. that's awkward ... thunderbird is the mua of choice here, and i guess it is not an option to switch to another one which might handle imap-acls better. it was hard enough to convince the users here to use thunderbird. i would greatly appreciate any help on how i might solve this issue ... many thanks, 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
hi again, having re-read my message, i realised that i didn't wrote that i was referring to subfolders of existing shared folders. something like this: - shared-folder <-- with r/w access to group foo - folder "bar", created by user a user b, who is a member of the group foo as well, should have full access to folder "bar" as well ... hope this makes my previous message a bit more understandable :-) 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
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
Re: [Courier-imap] shared folders - let users create folder
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
thoralf writes: 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? A newly-created folder inherits whatever ACLs are set on its parent folder. pgp7ftird61ey.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
Re: [Courier-imap] shared folders - let users create folder
hi Sam, Sam Varshavchik wrote: > A newly-created folder inherits whatever ACLs are set on its parent > folder. these are great news. thank you! with kind regards, thoralf. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap