Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Per-File Permissions syntax

3 views
Skip to first unread message

Xavier Vergés

unread,
Mar 16, 2008, 3:29:00 AM3/16/08
to
Hello

http://www.mozilla.org/projects/security/components/per-file.html
states that to set per-file persmissions, the syntax is
>
>user_pref("capability.principal.<group name>.id", "<Space-separated list of absolute URLs.>");
>user_pref("capability.principal.<group name>.<granted|denied>", "<privilege name>");
>

I have no problem when I specify a single url, but, if I try to
specify a space-separated list of urls, it does not work.

Bug in my brain, bug in the doc or bug in the code?
Thanks in advance

-Xv

Boris Zbarsky

unread,
Mar 16, 2008, 2:52:04 PM3/16/08
to
Xavier Vergés wrote:
>> user_pref("capability.principal.<group name>.id", "<Space-separated list of absolute URLs.>");
>> user_pref("capability.principal.<group name>.<granted|denied>", "<privilege name>");
>>
> I have no problem when I specify a single url, but, if I try to
> specify a space-separated list of urls, it does not work.
>
> Bug in my brain, bug in the doc or bug in the code?
> Thanks in advance

I think this is a bug in the doc, if I recall how this code works correctly.
Seems like a copy/paste from the capability.policy (which does work that way) docs.

-Boris


0 new messages