What permissions do you need to read a fike on Win2K?
Ken Cross
kcross at nssolutions.com
Wed Mar 19 22:38:15 GMT 2003
Right. In smbd/posix_acls.c the definition:
#define FILE_SPECIFIC_WRITE_BITS
(FILE_WRITE_DATA|FILE_APPEND_DATA|FILE_WRITE_EA|FILE_WRITE_ATTRIBUTES)
is used to set the required perms in the ACL.
Ken
________________________________
Ken Cross
Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com
> -----Original Message-----
> From:
> samba-technical-bounces+kcross=nssolutions.com at lists.samba.org
>
> [mailto:samba-technical-bounces+kcross=nssolutions.com at lists.s
> amba.org] On Behalf Of Richard Sharpe
> Sent: Wednesday, March 19, 2003 6:08 PM
> To: samba-technical at samba.org
> Subject: What permissions do you need to read a fike on Win2K?
>
>
> Hi,
>
> After doing some testing of Win2K permission bits, I find
> that you need
> READ_DATA and READ_EXTENDED_ATTRIBUTES to be able to read a
> file under
> Win2K. Can anyone confirm that?
>
> Similarly, you need WRITE_DATA, WRITE_ATTRIBUTES and
> WRITE_EXTENDED_ATTRIBUTES to be able to write a file.
>
> Bizaro, unless you know that Windows implements file data as
> the unnamed
> $DATA attribute (except where you have created alternate data
> streams, in
> which case they are named).
>
> Regards
> -----
> Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
> sharpe[at]ethereal.com, http://www.richardsharpe.com
>
More information about the samba-technical
mailing list