Displaying 12 results from an estimated 12 matches for "file_read_data".
2008 Aug 14
1
Security leak in map_nt_perms?
In map_nt_perms any of FILE_READ_DATA, FILE_READ_EA or
FILE_READ_ATTRIBUTES is mapped unconditionally to Unix read permission
and similarly for write permission
This means that if I put a file on a samba share where I explicitly left
*only* FILE_READ_ATTRIBUTES and FILE_READ_EA the file content becomes
hiddenly readable also if I deci...
2002 Sep 24
0
Changing file permissions from the command line
...t 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: READ_CONTROL
WIN_2K: SYNCHR...
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.
2001 Oct 23
1
samba NT ACL support problem?
...osted 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:)
READ_CONTROL...
2015 Feb 02
0
NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
...FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA...
2006 Mar 20
5
Need some ACL help for win32-file
Hi folks,
I''ve got most everything done for the pure Ruby version of win32-file.
The last thing left (since I''ll be moving the IO methods to a different
package eventually) is the file security stuff. Here''s what I''ve got so
far for the get_permissions method. However, I''m stuck at GetAce(). If
someone could help me finish up this method, I
2007 Sep 25
2
Using callbacks with ReadFileEx
...Synchronize
extend Windows::File
extend Windows::Handle
extend Windows::Error
extend Windows::Synchronize
class Error < StandardError; end
def self.read_async(file, length=nil, offset=0, &block)
handle = CreateFile(
file,
FILE_READ_DATA,
FILE_SHARE_READ,
0,
OPEN_EXISTING,
FILE_FLAG_OVERLAPPED | FILE_FLAG_NO_BUFFERING,
0
)
if handle == INVALID_HANDLE_VALUE
raise Error, get_last_error
end
func = Win32::API::Callback.new('...
2007 Oct 27
0
Who wants to take a stab at IO.foreach?
...;
class WinIO
extend Windows::File
extend Windows::Handle
extend Windows::Error
include Windows::File
include Windows::Error
MAX_READ = 20 # Small, for testing purposes
def self.foreach(file, sep="\r\n")
handle = CreateFile(
file,
FILE_READ_DATA,
FILE_SHARE_READ,
0,
OPEN_EXISTING,
0,
0
)
if handle == INVALID_HANDLE_VALUE
raise Error, get_last_error
end
buffer = 0.chr * MAX_READ
nbytes = [0].pack(''L'')
offset = 0...
2016 Oct 21
3
CTDB and locking issues in 4.4.6 (Classic domain)
> I've now managed to replicate the error on my test setup. I added a
> third host and all hell broke loose - no locking at all when opening
> Excel files apart from same-host. It seemed fine with two.
>
> I then downgraded to 4.4.5 and the problem persisted. So it cannot be
> a regression from that patch.
>
> Regards,
>
> Alex
>
Here you go:
Locked files:
2004 Nov 07
2
Problems with DeviceIoControl()
Hi all,
Thanks to Wayne and Park, I''ve got something like this
now:
static VALUE file_set_compressed(VALUE self, VALUE
rbBool){
HANDLE h;
BOOL rv;
DWORD dwBytesReturned;
int fn;
USHORT inBuf = COMPRESSION_FORMAT_DEFAULT;
if((rbBool != Qtrue) && (rbBool != Qfalse)){
rb_raise(rb_eTypeError,"Argument must be true or
false");
}
2020 May 09
1
Win7 clients problem after upgrading samba file server to 4.12 on Arch
Am 5/9/20 um 3:32 PM schrieb Ralph Boehme via samba:
> I have a WIP fix for master, can you give it a whirl?
here it is.
-slow
--
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
...> diff --git a/source3/client/client.c b/source3/client/client.c
> index 831b9bc..28e98af 100644
> --- a/source3/client/client.c
> +++ b/source3/client/client.c
> @@ -2498,12 +2498,12 @@ static int cmd_open(void)
>
> status = cli_ntcreate(targetcli, targetname, 0,
> FILE_READ_DATA|FILE_WRITE_DATA, 0,
> - FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN,
> + 0, FILE_OPEN,
> 0x0, 0x0, &fnum, NULL);
> if (!NT_STATUS_IS_OK(status)) {
> status = cli_ntcreate(targetcli, targetname, 0,
> FILE_READ_DATA, 0,
> - FILE_SHARE_READ|FILE_SHARE_WRIT...