Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 1996 11:17:59 -0700 (PDT)
From:      Jake Hamby <jehamby@lightside.com>
To:        hackers@FreeBSD.ORG
Subject:   I hate Solaris ACL's!!!
Message-ID:  <Pine.AUX.3.91.960606110442.22638A-100000@covina.lightside.com>

next in thread | raw e-mail | index | archive | help
Okay, I've got a big FFS partition I'm trying to share between 
FreeBSD-current and Solaris/x86, which sounds like a recipe for trouble, 
I know, but it seems to be working well (assuming you fsck thoroughly 
when you switch to the other OS), except for one big problem, thanks to 
Solaris 2.5's ACL implementation.

Every time I boot into Solaris, its fsck gives a bunch of "I=xxxx 
BAD/CLEARED ACL (FIXED) I=6846" errors.  Then when I look at any 
directory owned by myself (UID 6846), I find that many of them have 
switched to 000 permissions, so I have to chmod lots of stuff before I 
can even use it!  Now, can some filesystem guru (Terry?) who maybe knows 
how Solaris is implementing ACL's tell me if it would be feasible to 
patch FreeBSD's FFS implementation to insert some null ACL entry in order 
to keep Solaris happy?  Perhaps this is stored in the 30 bytes of the 
inode "for future expansion", and maybe we can put different values there.

It's interesting that my little hack has been as successful as it has,
since neither OS was designed for filesystem compatibility with the other,
but I assume this is because Sun needed to keep Solaris UFS at least
reasonably backwords compatible to SunOS for the SPARC version.  BTW, this
filesystem was built with "newfs -O" to use 4.2/4.3BSD compatibility mode. 

---Jake




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.AUX.3.91.960606110442.22638A-100000>