Re: Updating ACE[] using jcifs
Michael B Allen <[email protected]>
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <CAGMFw4iwfUO+eZLLL8LctovFn57S02cjogG7z27AKiiHoP_eTg@mail.gmail.com> |
On Mon, Nov 21, 2011 at 4:37 AM, talis <[email protected]> wrote: > Hi All, > > I want to update file permissions (revoke) using jcifs. For example i want > to remove 'takeOwnershipAccessRight' (0x00080000) permission, which means to > set appropriate bit in the mask to '0'. > > As i see in jcifs, there is no implementation to setting the permission > mask. > > Does anyone knows how it can be done in jcifs? Any known implementations? Hi Talis, I am not aware of any no. And it's not a trivial change because you need to encode security descriptors. It's probably a good way to corrupt disks too. Tread carefully. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/