Re: [PATCH 0/5] cifs-utils: cifsacl utilities: Implement getcifsacl and setcifsacl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 19, 2011 at 10:27 PM,  <shirishpargaonkar@xxxxxxxxx> wrote:
>
> Implement utilities getcifsacl and setcifsacl
>
>
> Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx>
>
>
> Set of patches to build utilities getcifsacl and setcifsacl
> along with their manpages.
>
> getcifsacl fetches a security descriptor of a file off of a
> share mounted using option cifsacl using API getxattr.
> It then parses the security descriptor printing control
> porttion of the security descriptor and then DACL if there
> is one by printing each ACE with it fields, SID, type, flags, and mask.
>
> setcifsacl builds two lists of ACEs, one specified on the command line
> and other fetched from the file the way getcifacl does.
> It then constructs a security descriptor consisting of ACL
> and uses API setxattr to send the security descriptor as a blob to
> the server.  setcifsacl also works with files off of shares
> mounted with option cifsacl.
>
> manpages are provided for both the utilities with some examples
> in setcifsacl manpage.  The usage of getcifsacl is simple and
> very much self explanatory.
>
> With these utilities, there is a way to interprete and construct a
> blob describing security descritpor of a file system object.
>
> These utilities are modeled after smbcacls command in the
> Samba suite.
>
>

Jeff, any comments on these?

Regards,

Shirish
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux