Displaying 8 results from an estimated 8 matches for "file_generic_read".
2002 Sep 24
0
Changing file permissions from the command line
...Domain not found>(OI)(CI)(IO)F
WIN_2K: <Account Domain not found>(OI)(CI)(IO)(special access:)
WIN_2K: READ_CONTROL
WIN_2K: SYNCHRONIZE
WIN_2K: FILE_GENERIC_READ
WIN_2K: FILE_READ_DATA
WIN_2K: FILE_READ_EA
WIN_2K: FILE_READ_ATTRIBUTES
WIN_2K:
WIN_2K: Everyone:(OI)(CI)(IO)(special access:)
WIN_2K:...
2020 Apr 17
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...e files with executable permissions? I did 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...
2005 Sep 07
1
Samba 3.0.20 - Windows 98 problem
Server - Samba 3.0.20 on INTEL P4 running Slackware 10.1 Client - Windows
98.
Can log in, see, browse, and write.
Just can't run simultaneous, same *.exe from 2 different computers with
Windows 98
With Windows 2000, Xp this keep good time.
On samba 3.0.14a, with same smb.conf this problem dont exist.
2020 Apr 20
4
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...ly understand the permission 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 check...
2001 Oct 23
1
samba NT ACL support problem?
...osted share.
FYI the cacls output of the samba hosted file is:
Content.IE5\index.dat <Account Domain not found>(special access:)
WRITE_OWNER
<Account Domain not found>(special access:)
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_READ_DATA
FILE_READ_EA
FILE_READ_ATTRIBUTES
Everyone:F
while the cacls output of the NT4 hosted file is:
K:\Content.IE5\index.dat Everyone:(special access:)...
2015 Feb 02
0
NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
...READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA...
2020 Apr 20
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...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...
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