search for: file_generic_execute

Displaying 5 results from an estimated 5 matches for "file_generic_execute".

2020 Apr 17
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...a quick search but can't find anywhere in the codebase that actually sets a value for mode. 2. How would we even map unix-style permissions to windows? I see in the MS docs that there are coarse-grained permission types that map to unix permissions (FILE_GENERIC_READ, FILE_GENERIC_WRITE, and FILE_GENERIC_EXECUTE). For file creation, the current user could be the owner. Perhaps all groups the user is a member of could get the group permissions, and maybe Authenticated Users for other? 3. On my previous project, we used clang-format, and I never had this issue. I was using a very old version though, so I...
2020 Apr 20
4
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...ission model has both "Read" and "Read & Execute". I'd guess that it's because having orthogonal "Read" and "Execute" permissions would allow a nonsense state that marks a file as executable but not readable. The flags like FILE_GENERIC_READ and FILE_GENERIC_EXECUTE don't map one-to-one with the Windows/NTFS file permissions. Rather, they are mostly used to specify the type of access a particular operation needs (to a call like CreateFileW, which doesn't necessarily create a file but often opens one instead). The system checks the requested access ag...
2020 Apr 20
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...ead" and "Read & Execute". I'd guess that it's because having orthogonal > "Read" and "Execute" permissions would allow a nonsense state that marks a > file as executable but not readable. > > > > The flags like FILE_GENERIC_READ and FILE_GENERIC_EXECUTE don't map > one-to-one with the Windows/NTFS file permissions. Rather, they are mostly > used to specify the type of access a particular operation needs (to a call > like CreateFileW, which doesn't necessarily create a file but often opens > one instead). The system checks the...
2001 Oct 23
1
samba NT ACL support problem?
...osted file is: K:\Content.IE5\index.dat Everyone:(special access:) READ_CONTROL SYNCHRONIZE FILE_GENERIC_READ FILE_GENERIC_WRITE FILE_GENERIC_EXECUTE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA FILE_WRITE_EA FILE_EXECUTE...
2009 Jan 30
5
ACLs under Samba 3.3.0
Is behavior of ACLs under Samba 3.3.0 (Sernet) completely different from that under version 3.2.7? The release notes only talks about some "fixes". I installed version 3.3.0 and got completely different result with the same filesystem and the exact same samba configuration. The ACLs behaved strangely and appeared very different under Windows ACL editor. Users were now unable to