Re: [PATCH] cifs: Use mask of ACEs for SID Everyone to calculate all three permissions user, group, and other

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

 



On Fri, 14 Jan 2011 23:01:12 -0600
Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx> wrote:

> 
> Jeff, Thanks. Need to think this over.
> 
> Wish there were a commands/subcommands like getpathinfo
> and gethandleinfo with infolevels to determine what functions
> GetEffectiveRightsFromAcl and AccessCheckByType provide.
> 
> Perhaps these are Windows APIs providing these type of services
> and there is a named pipe providing these services.

Even if there were, there would be nothing preventing the access rights
from changing after you fetch the permissions but before you enforce
them. That's a situation that can't be prevented if you're relying on
the client to enforce permissions.

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
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