diff --git a/sepolgen/src/sepolgen/access.py b/sepolgen/src/sepolgen/access.py index 71121d7..3eda2fd 100644 --- a/sepolgen/src/sepolgen/access.py +++ b/sepolgen/src/sepolgen/access.py @@ -127,7 +127,7 @@ class AccessVector: return self.to_string() def to_string(self): - return "allow %s %s : %s %s;" % (self.src_type, self.tgt_type, + return "allow %s %s:%s %s;" % (self.src_type, self.tgt_type, self.obj_class, self.perms.to_space_str()) def __cmp__(self, other):