Clearing the "don't inherit grants from parent folder"(i) flag

Revision as of 19:56, 11 January 2010 by CAH (talk | contribs) (Related Articles)

Description

If you have already shared and revoked permissions for a folder, you may experience problems sharing it again. The following steps will clear the "don't inherit grants from parent folder" (i) flag. To correct this problem, follow the steps below.

How to clear the i flag

The "don't inherit grants from parent folder"(i) flag can be cleared by the "zmmailbox mff" command, as follows:

1. Find out and remember the currently set flags:

zmmailbox -z -m {user-name} gf {folder-path}
e.g.
>zmmailbox -z -m user1@test.com gf /Inbox
{
    "color": "defaultColor",
    "contentSequence": 1,
    "defaultView": "message",
    "flags": "ui",
    "grants": [],
    "id": "2",
    "isCheckedInUI": false,
    "isExcludedFromFreeBusy": false,
    "isSyncEnabled": false,
    "isSyncFolder": false,
    "isSystemFolder": true,
    "itemCount": 222,
    "name": "Inbox",
    "parentId": "1",
    "path": "/Inbox",
    "pathURLEncoded": "/Inbox",
    "size": 7592687,
    "subFolders": [],
    "unreadCount": 222
}


The current flags are "ui" in the example.


2. Remove only the i (no inherit) flag and preserve all other flags:

zmmailbox -z -m {user-name} mff {folder-path} {flags}

Continuing with the example in step 1, e.g.

zmmailbox -z -m user1@test.com mff /Inbox u


3. Check that it is updated as expected. The 'i' flag should be gone and all other flags should be still present.

e.g.

>zmmailbox -z -m user1@test.com gf /Inbox
{
    "color": "defaultColor",
    "contentSequence": 1,
    "defaultView": "message",
    "flags": "u",
    "grants": [],
    "id": "2",
    "isCheckedInUI": false,
    "isExcludedFromFreeBusy": false,
    "isSyncEnabled": false,
    "isSyncFolder": false,
    "isSystemFolder": true,
    "itemCount": 222,
    "name": "Inbox",
    "parentId": "1",
    "path": "/Inbox",
    "pathURLEncoded": "/Inbox",
    "size": 7592687,
    "subFolders": [],
    "unreadCount": 222
}

Related Articles



Verified Against: unknown Date Created: 1/11/2010
Article ID: https://wiki.zimbra.com/index.php?title=Clearing_the_%22don%27t_inherit_grants_from_parent_folder%22(i)_flag Date Modified: 2010-01-11



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search