Tetsuo Handa wrote:
> > allow read/write /virt/images/\*.img
> Please use "allow_read/write", not "allow read/write".
Oh, you specified "allow_read/write" but it didn't work, right?
Then, it is TOMOYO's bug. Probably below patch will fix it.

diff -urp 1.6.5/fs/tomoyo_file.c 1.6.5-hotfix/fs/tomoyo_file.c
--- 1.6.5/fs/tomoyo_file.c      2008-12-25 09:00:00.000000000 +0900
+++ 1.6.5-hotfix/fs/tomoyo_file.c       2009-01-28 14:09:47.157039688 +0900
@@ -1038,6 +1038,8 @@ static int update_single_path_acl(const 
        if (!acl)
                goto out;
        acl->perm = perm;
+       if (perm == (1 << TYPE_READ_WRITE_ACL))
+               acl->perm |= rw_mask;
        acl->u_is_group = is_group;
        acl->u.filename = saved_filename;
        error = ccs_add_domain_acl(domain, &acl->head);

_______________________________________________
tomoyo-users-en mailing list
[email protected]
http://lists.sourceforge.jp/mailman/listinfo/tomoyo-users-en

Reply via email to