search for: create_file

Displaying 20 results from an estimated 56 matches for "create_file".

2024 Oct 12
2
samba-tool domain backup offline fails.
...getdir=/usr/local/backups/samba The backup systematically fails leaving a folder INCOMPLETEsambabackupfileXXXXX with a small .tar inside. If I run it "by hand", I get the same result. The (what I think is the) relevant part of the error is: running offline ntacl backup of sysvol py_smbd_create_file: init_files_struct failed: NT_STATUS_INVALID_PARAMETER ERROR(runtime): uncaught exception - (3221225485, 'An invalid parameter was passed to a service or function.') File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 279, in _run return self.run(*args, **kw...
2004 Sep 18
3
[LLVMdev] Files to lib/System/Win32
...Path.cpp. It has a few holes still but it ought to be basically functional. A few observations: First, the Win32 version still has a lot of code in common with Unix. This code should be pulled out into a common file. Second, some of the functions leave me scratching me head. What purpose does create_file serve? Is there really a need to create empty files? (It also leaks an open file handle, BTW). I would expect set_file to alter only the file name portion of the path and leave the directory portion unchanged, and the opposite for set_directory. set_directory obliterates the file name portion of...
2009 Nov 02
0
testing Rake tasks with FakeFS
...I have a bit of a newbie question regarding fakefs; I want to test Rake > tasks using fakefs and rspec: > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > require ''fakefs/safe'' > require ''rake'' > require ''spec'' > > task :create_file do > touch "/abc" > end > > describe "my rake script" do > before do > FakeFS.activate! > end > > it "should create a file abc" do > Rake::Task[:create_file].invoke > File.should exist("/abc") > end &g...
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
...? ?is_mangled sub_dir ? 357(is_mangled_component): ?? ??? ??? ?is_mangled_component sub_dir (len 7) ? 418(is_mangled): ?? ??? ? ??? ??? ??? ?is_mangled sub_dir ? 357(is_mangled_component): ?? ??? ??? ?is_mangled_component sub_dir (len 7) ? 1123(unix_convert): ?? ??? ? ??? ??? ?New file sub_dir 5625(create_file_default): ?? ??? ??? ?create_file_default: create_file: access_mask = 0x80 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x2 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = sub_dir 5075(create_file_unixpath):...
2001 Dec 06
2
Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA?
...found in '/mnt/dos/windows' 0806d388:trace:heap:HeapFree (403b0000,00000002,4042ef68): returning TRUE 0806d388:trace:dosfs:DOSFS_GetFullName returning /mnt/dos/windows/000cf6e.tmp = C:\WINDOWS\000cf6e.tmp 0806d388:trace:dosfs:GetDriveTypeA ("C:\\WINDOWS\\000cf6e.tmp") 0806d388: create_file( access=40000000, inherit=0, sharing=00000000, create=1, attrs=00000080, drive_type=3, filename="/mnt/dos/windows/000cf6e.tmp" ) 0806d388: create_file() = 0 { handle=52 } 0806d388:trace:file:FILE_GetTempFileName created C:\WINDOWS\000cf6e.tmp 0806d388: close_handle( handle=52 ) 0806d388...
2018 Feb 02
2
Samba 4.6.2 does not inherit setgid bit (anymore)
...pply at least 770 in order to gain a simplified permission management using groups the actual dirty workaround I applied was to track new files/dir by tailing with follow ( tail -f ) a smbd_audit.log filtered through rsyslog for messages generated by samba full_audit configured to listen "create_file" event; the problem here is that sometime samba full_audit report the event of a file or folder created by the element isn't on the disk yet so as security checkpoint I ended to apply a chgrp -R root nightly on a daily basis. all of these problems could easily resolved if there was exi...
2012 Feb 24
2
STATUS_ACCESS_DENIED with NTCreateAndX if Access Mask has System Security bit set
...1049, 10] smbd/open.c:1761(open_file_ntcreate) open_file_ntcreate: smbd_calculate_access_mask on file Administrator returned NT_STATUS_ACCESS_DENIED [2012/02/23 12:35:24.191107, 5] smbd/files.c:464(file_free) freed files structure 9877 (0 used) [2012/02/23 12:35:24.191162, 10] smbd/open.c:3420(create_file_unixpath) create_file_unixpath: NT_STATUS_ACCESS_DENIED [2012/02/23 12:35:24.191216, 10] smbd/open.c:3700(create_file_default) create_file: NT_STATUS_ACCESS_DENIED Other things I've tried: - Adding "admin users = Administrator" to the [users] share section in the smb.conf - Doin...
2024 Oct 13
1
samba-tool domain backup offline fails.
...t; The backup systematically fails leaving a folder > INCOMPLETEsambabackupfileXXXXX with a small .tar inside. > If I run it "by hand", I get the same result. The (what I think is the) > relevant part of the error is: > > running offline ntacl backup of sysvol > py_smbd_create_file: init_files_struct failed: NT_STATUS_INVALID_PARAMETER > ERROR(runtime): uncaught exception - (3221225485, 'An invalid parameter was > passed to a service or function.') > File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 279, > in _run >...
2009 May 18
0
Re: [smbd][PATCH] Writing EAs when overriding files
...gt; > Since the Win32 API does not have a single function that overwrites a > file and associates extended attributes in one call, it is very unlikely > to cause any harm to windows clients. But OS/2 clients have this API > function and the LANMAN2 trans2open request is forwarded to create_file. > > I have no sufficiently detailed documentation of the LANMAN2 protocol, > but the OS/2 API docs for DosOpen clearly say: > > "peaop2 (PEAOP2) - in/out Extended attributes. > This parameter is only used to specify extended attributes (EAs) when > creating a new...
2012 Mar 02
0
server signing = mandatory aix 6.1 (abridged debug)
...sampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_invscout -- [2012/02/15 13:34:30.741302, 5] passdb/pdb_tdb.c:609(tdbsam_getsampwrid) pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201. [2012/02/15 13:34:30.741477, 3] smbd/sec_ctx.c:418(pop_sec_ctx) -- create_file: NT_STATUS_OBJECT_NAME_NOT_FOUND [2012/02/15 13:34:30.752713, 3] smbd/error.c:80(error_packet_set) error packet at smbd/error.c(160) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND [2012/02/15 13:34:30.752797, 5] lib/util.c:617(show_msg) -- [2012/02/15 13:34:30.757060, 0] lib/util_sock....
2024 Oct 13
1
samba-tool domain backup offline fails.
...gt; The backup systematically fails leaving a folder > INCOMPLETEsambabackupfileXXXXX with a small .tar inside. > If I run it "by hand", I get the same result. The (what I think is the) > relevant part of the error is: > > running offline ntacl backup of sysvol > py_smbd_create_file: init_files_struct failed: NT_STATUS_INVALID_PARAMETER > ERROR(runtime): uncaught exception - (3221225485, 'An invalid parameter was > passed to a service or function.') > File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 279, > in _run > return s...
2007 Jan 12
0
Larousse Multilingue: stack overflow in exception handler ?
...e=(nil) attr=00000000 sharing=00000000 disp=1 options=00000021 ea=(nil).0x00000000 0009:trace:heap:RtlAllocateHeap (0x110000,00000002,00000131): returning 0x18d998 0009:trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\" -> "/home/pradalie/.cxoffice/winxp/dosdevices/c:/" 0009: create_file( access=00000000, attributes=00000040, sharing=00000000, create=1, options=00000021, attrs=00000000, filename="/home/pradalie/.cxoffice/winxp/dosdevices/c:/" ) 0009: create_file() = 0 { handle=0x9c } 0009:trace:heap:RtlFreeHeap (0x110000,00000002,0x18d998): returning TRUE 0009:Ret ntdll....
2011 Sep 28
3
Can't remember name of command to temporarily disable a share
I need to temporarily disable a share for a few days, I remember there was an entry I could add to the share definition to temporarily disable the share (I think it was disabled=true or enabled=false) but I can't remember what it was for sure, nor can I find it in the manual. what is it ?
2023 Nov 10
2
understanding stat cache
...8 grant_fsp_oplock_type 8 smb2 20 smbd_do_qfsinfo 36 stat_cache_add 451 change_to_root_user 3040 get_ea_dos_attribute 11172 fill_ea_chained_buffer 11172 get_ea_names_from_file 11172 get_ea_value 11216 open_directory 11224 se_access_check 11232 unix_mode 11236 create_file 11236 create_file_default 22344 get_ea_list_from_file 22348 smbd_do_qfilepathinfo 22448 file_name_hash 22448 smbXsrv_open_create 22448 smbXsrv_open_global_verify_record 22452 smbXsrv_open_global_store 22464 create_file_unixpath 22464 open_file_ntcreate 22550 ctdbd_migrate 2393...
2019 Apr 10
3
Unable to upload printer drivers.
...nished x64/3 -> x64/3 [2019/04/10 15:27:07.145879, 5, pid=1218, effective(0, 0), real(0, 0)] ../source3/printing/nt_printing.c:1569(move_driver_to_download_area) Creating first directory: x64/3 [2019/04/10 15:27:07.145894, 10, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/open.c:5627(create_file_default) create_file_default: create_file: access_mask = 0x80 file_attributes = 0x10, share_access = 0x0, create_disposition = 0x2 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = x64/3 [2019/04/10 15:27:07.145913, 10, pid=1218...
2004 Sep 19
0
[LLVMdev] Files to lib/System/Win32
.... Path::create_directory had other problems. The use of path::copy to make a local copy of the path assumed there was a null terminator. std::string doesn't use null termination. The parsing code to identify the intermediate directories wasn't correct either. My first implementation of create_file was incorrect because it succeeded even if the file already existed. I fixed that, but creating a file to serialize concurrent programs is a Unix paradigm that is not appropriate for all platforms. On Windows the preferred way is to use a mutex, which cleans up after itself if a program dies abno...
2010 Sep 29
1
Hard time installing printers 3.4.8
...atcache.c:138(stat_cache_add) stat_cache_add: Added entry (8038717d0:size 13) W32X86/PSCRIPT5.DLL -> W32X86/PSCRIPT5.DLL [2010/09/29 17:31:53, 5] smbd/filename.c:297(unix_convert) conversion finished W32X86/PSCRIPT5.DLL -> W32X86/PSCRIPT5.DLL [2010/09/29 17:31:53, 10] smbd/open.c:3365(create_file_default) create_file: access_mask = 0x120089 file_attributes = 0x80, share_access = 0x3, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 root_dir_fid = 0x0, ea_list = 0x0x0, sd = 0x0x0, create_file_flags = 0x0, fname = W32X86/PSCRIPT5.DLL [2010/09/29 17:31:53, 3] smbd/vfs....
2010 Jul 07
5
Problem After Upgrade - NT_STATUS_FILE_IS_A_DIRECTORY
I'm running Samba 3.4.7 on Ubuntu 10.04. This is a recent upgrade and we've starting experience a sporadic problem after this upgrade. When users are browsing through Windows Explorer they sometimes run across folders that appear as unassociated files. This requires the user to click the 'Refresh' button in Windows Explorer to properly see the folders. The files and folders are
2002 Nov 14
0
WIN 3.1 App crashes.. Unhandled Exception
...") -> L"Atwin.exe" (L"ATWIN.EXE") 0820ac28:trace:dosfs:DOSFS_GetFullName returning /var/lib/wine/drivec/Program Files/Atwin/Atwin.exe = L"C:\\PROG~FBU\\ATWIN\\ATWIN.EXE" 0820ac28:trace:dosfs:GetDriveTypeW (L"C:\\PROG~FBU\\ATWIN\\ATWIN.EXE") 0820ac28: create_file( access=80000000, inherit=0, sharing=00000003, create=3, attrs=00000000, drive_type=3, filename="/var/lib/wine/drivec/Program Files/Atwin/Atwin.exe" ) 0820ac28: create_file() = 0 { handle=0x70 } 0820ac28:trace:file:CreateFileW returning 00000070 0820ac28:trace:file:Win32HandleToDosFileH...
2004 Sep 19
2
[LLVMdev] Files to lib/System/Win32
Patch committed. Thanks for cleaning up some of the coding standards issues. Reid. On Sat, 2004-09-18 at 22:18, Jeff Cohen wrote: > Patch for Signals.cpp attached. > > On Sat, 18 Sep 2004 21:30:12 -0700 > Jeff Cohen <jeffc at jolt-lang.org> wrote: > > > On Sat, 18 Sep 2004 12:30:41 -0700 > > Reid Spencer <reid at x10sys.com> wrote: > > > >