Displaying 20 results from an estimated 30 matches for "open_access_mask".
2012 Dec 19
0
Read only behaviour of a file when opened two or more times.
...t possible to save using the same file name however a different name needs specifying (save as).
In smbd.log I see some of the following, sanitised:
Works:-
[2012/12/19 22:10:48, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x2 flags2=0x0 mode=0744, access_mask = 0x20196, open_access_mask = 0x20196
[2012/12/19 22:10:48, 2] smbd/open.c:open_file(391)
USER opened file FILE read=No write=Yes (numopen=2)
Doesn't work:-
[2012/12/19 22:10:48, 3] smbd/vfs.c:reduce_name(922)
reduce_name: FILE reduced to /path/FILE
[2012/12/19 22:10:48, 4] smbd/open.c:open_file_ntcreate(1605)
call...
2007 Dec 06
0
[POSIX ACLs] Only ACE rules from Samba Primary Group are applied.
...cess=0x7 create_disposition = 0x2
create_options=0x40 unix mode=0760 oplock_request=3
open_file_ntcreate: fname=New Text Document.txt, after mapping
access_mask=0x2019f
allocated file structure 2723, fnum = 6819 (2 used)
calling open_file with flags=0x2 flags2=0x80 mode=0777, access_mask =
0x2019f, open_access_mask = 0x2019f
Permission denied opening New Text Document (2).txt
If I use the "write list = @users" I get:
New file New Briefcase
[2007/12/06 13:54:04, 2] smbd/dosmode.c:unix_mode(96)
unix_mode(New Briefcase) inheriting from .
[2007/12/06 13:54:04, 2] smbd/dosmode.c:unix_mode(104)
uni...
2007 Oct 17
2
problem with kernel oplock
...ith samba and modify it
make swap
I try to save and no possible to save, but if I close the file and reopen
it it works fine.
On the log file, we have :
[2007/10/17 12:25:50, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x0 flags2=0x0 mode=0760, access_mask =
0x20089, open_access_mask = 0x20089
[2007/10/17 12:25:50, 2] smbd/open.c:open_file(391)
spu opened file CORINF/cmde/CDE5021.ods read=Yes write=No (numopen=3)
[2007/10/17 12:25:50, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(173)
linux_set_kernel_oplock: Refused oplock on file CORINF/cmde/CDE5021.ods,
fd = 26, dev =...
2009 Dec 23
2
Can't create file.
...unix_mode(New Text Document.txt) returning 0744
[2009/12/20 00:57:35, 5] smbd/files.c:file_new(123)
allocated file structure 9322, fnum = 13418 (1 used)
[2009/12/20 00:57:35, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x2 flags2=0x80 mode=0744, access_mask
= 0x2019f, open_access_mask = 0x2019f
[2009/12/20 00:57:35, 3] smbd/open.c:open_file(237)
Permission denied opening New Text Document.txt
[2009/12/20 00:57:35, 5] smbd/files.c:file_free(454)
freed files structure 13418 (0 used)
[2009/12/20 00:57:35, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/nttrans.c(80...
2009 Feb 02
1
Large file problem with version 3.0.34
...mode(142)
unix_mode(PATH/FILE.zip) returning 0766
[2009/02/02 09:40:15, 5] smbd/files.c:file_new(123)
allocated file structure 190, fnum = 4286 (2 used)
[2009/02/02 09:40:15, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x0 flags2=0x0 mode=0766, access_mask =
0x20089, open_access_mask = 0x20089
[2009/02/02 09:40:15, 3] smbd/open.c:open_file(301)
Error opening file PATH/FILE.zip (NT_STATUS_ACCESS_DENIED)
(local_flags=0) (flags=0)
[2009/02/02 09:40:15, 5] smbd/files.c:file_free(456)
freed files structure 4286 (1 used)
[2009/02/02 09:40:15, 3] smbd/error.c:error_packet_set(106...
2023 Mar 28
1
windows acls
...annot get attribute from EA on file .:
>>> Error = No data available
>>> [2023/03/28 10:37:19.643652,? 4]
>>> ../../source3/smbd/open.c:3808(open_file_ntcreate)
>>> ?? calling open_file with flags=0x0 flags2=0x800 mode=0666,
>>> access_mask = 0x20080, open_access_mask = 0x20080
>>> [2023/03/28 10:37:19.643680,? 5]
>>> ../../source3/smbd/open.c:4427(open_directory)
>>> ?? open_directory: opening directory ., access_mask = 0x20080,
>>> share_access = 0x7 create_options = 0x200000, create_disposition =
>>> 0x1, file_a...
2008 Aug 18
3
Samba 3.0.x access rights issue with secondary groups or Unix rights
...stemCertificates/My/CRLs, after mapping access_mask=0x1
[2008/08/15 12:25:22, 5] smbd/files.c:file_new(123)
allocated file structure 1332, fnum = 5428 (5 used)
[2008/08/15 12:25:22, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x0 flags2=0x0 mode=0700, access_mask = 0x1, open_access_mask = 0x1
[2008/08/15 12:25:22, 10] smbd/open.c:fd_open(67)
fd_open: name jdoe/Application Data/Microsoft/SystemCertificates/My/CRLs, flags = 00 mode = 0700, fd = 32.
[2008/08/15 12:25:22, 10] locking/posix.c:get_windows_lock_ref_count(545)
get_windows_lock_count for file = 0
[2008/08/15 12:25:22...
2008 Apr 23
0
samba and gpfs
...en client does 'get file', for
example), here is what happens:
smb: \> get opt.err
NT_STATUS_SHARING_VIOLATION opening remote file \opt.err
[2008/04/22 14:49:53, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask =
0x120089, open_access_mask = 0x120089
[2008/04/22 14:49:53, 10] smbd/open.c:fd_open(67)
fd_open: name opt.err, flags = 00 mode = 0744, fd = 26.
[2008/04/22 14:49:53, 2] smbd/open.c:open_file(391)
marcin opened file opt.err read=Yes write=No (numopen=1)
[2008/04/22 14:49:53, 10] locking/posix.c:get_windows_lock_ref_coun...
2016 Mar 03
2
Weird permissions problem
...ode_from_sbuf returning d
[2016/03/03 13:37:52.007618, 8]
../source3/smbd/dosmode.c:36(dos_mode_debug_print)
dos_mode returning d
[2016/03/03 13:37:52.007717, 4]
../source3/smbd/open.c:2727(open_file_ntcreate)
calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask =
0x100081, open_access_mask = 0x100081
[2016/03/03 13:37:52.007838, 5]
../lib/dbwrap/dbwrap.c:178(dbwrap_check_lock_order)
check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2016/03/03 13:37:52.007900, 5]
../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor)
release lock order 1 for /var/li...
2019 Nov 25
3
Samba4 - Printer Drivers install fails
Le 25/11/2019 ? 09:15, L.P.H. van Belle via samba a ?crit?:
> I tested Friday also with a W7 pc.
> Not working, im try to see what i can do today on this problem.
>
> Greetz,
>
> Louis
Hi Louis,
Thanks for your help. I'm still investigating on it, but sadly i cannot
upgrade to 4.11 as those servers cannot reach external repositories for
security reasons (those servers
2012 Jul 18
1
3.6.5: NT_STATUS_ACCESS_DENIED from Win7 to 750 dir
...d/dosmode.c:199(dos_mode_from_sbuf)
dos_mode_from_sbuf returning d
[2012/07/18 13:56:24.487338, 8] smbd/dosmode.c:672(dos_mode)
dos_mode returning d
[2012/07/18 13:56:24.487388, 4] smbd/open.c:2069(open_file_ntcreate)
calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask= 0x81, open_access_mask = 0x81
[2012/07/18 13:56:24.487429, 5] smbd/files.c:464(file_free)
freed files structure 13965 (0 used)
[2012/07/18 13:56:24.487455, 5] smbd/open.c:2597(open_directory)
open_directory: opening directory testdir-geg, access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_dispositi...
2016 Nov 10
4
Clients can't write to group-writable files
Hello,
Really stumped on this issue. I have samba 4.4.7 running on a new
server. Users cannot write to files to which they have write permissions
via group.
Example:
Here's the local filesystem on the samba server. I'm logged in as jmalone
: jmalone at canis; cd /home/www.nrao.edu/content/logs/
: jmalone at canis; ls -l
total 4
-rw-rw-r-- 1 jmalone nraoweb 0 Nov 10 10:02
2016 Mar 09
0
Weird permissions problem
...016/03/03 13:37:52.007618, 8]
> ../source3/smbd/dosmode.c:36(dos_mode_debug_print)
> dos_mode returning d
> [2016/03/03 13:37:52.007717, 4]
> ../source3/smbd/open.c:2727(open_file_ntcreate)
> calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask =
> 0x100081, open_access_mask = 0x100081
> [2016/03/03 13:37:52.007838, 5]
> ../lib/dbwrap/dbwrap.c:178(dbwrap_check_lock_order)
> check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
> [2016/03/03 13:37:52.007900, 5]
> ../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor)
> rele...
2016 Nov 14
0
Clients can't write to group-writable files - plea for help
...uff like:
open_file_ntcreate: fname=logs/foobar, after mapping access_mask=0x20087
[2016/11/14 11:32:30.009669, 4, pid=9336, effective(2310, 2049),
real(2310, 0)] ../source3/smbd/open.c:2758(open_fi
le_ntcreate)
calling open_file with flags=0x2 flags2=0x0 mode=0744, access_mask =
0x20087, open_access_mask = 0x20087
[2016/11/14 11:32:30.009702, 10, pid=9336, effective(2310, 2049),
real(2310, 0), class=acls] ../source3/smbd/posix_a
cls.c:3558(posix_get_nt_acl)
posix_get_nt_acl: called for file logs/foobar
[2016/11/14 11:32:30.009753, 10, pid=9336, effective(2310, 2049),
real(2310, 0)] ../source3/...
2016 Mar 03
2
Weird permissions problem
Hello,
I'm having a permissions problem I just can't quite figure out. I can not access
any directory that is owned by my userid if the permissions are 700. If I change them
to 770, with my default group on the directory, then I can access the directory.
This was working fine with Fedora 19 for several years, and it broke when I upgraded
to Fedora 22, and still broken with F23.
my
2010 Mar 15
1
Permissions problem with Windows Vista / 7 clients, Debian Samba 3.4.7 server
...65(check_reduced_name)
reduce_name [.] [/home/jkelley]
[2010/03/15 15:09:58, 3] smbd/vfs.c:974(check_reduced_name)
reduce_name: . reduced to /home/jkelley
[2010/03/15 15:09:58, 4] smbd/open.c:1913(open_file_ntcreate)
calling open_file with flags=0x0 flags2=0x0 mode=0700, access_mask = 0x81,
open_access_mask = 0x81
[2010/03/15 15:09:58, 5] smbd/files.c:474(file_free)
freed files structure 15566 (1 used)
[2010/03/15 15:09:58, 5] smbd/open.c:2391(open_directory)
open_directory: opening directory ., access_mask = 0x81, share_access =
0x7 create_options = 0x0, create_disposition = 0x1, file_attribute...
2012 Jun 15
1
User cannot get into own directory with 700 permissions
...e 10381, fnum = 14477 (3 used)
[2012/06/15 10:24:25.701296, 3] smbd/dosmode.c:159(unix_mode)
unix_mode(test2/700_dir_cfowler_staff) returning 0740
[2012/06/15 10:24:25.701445, 4] smbd/open.c:2069(open_file_ntcreate)
calling open_file with flags=0x0 flags2=0x0 mode=0740, access_mask =
0x81, open_access_mask = 0x81
[2012/06/15 10:24:25.701655, 5] smbd/files.c:464(file_free)
freed files structure 14477 (2 used)
[2012/06/15 10:24:25.701770, 5] smbd/open.c:2597(open_directory)
open_directory: opening directory test2/700_dir_cfowler_staff,
access_mask = 0x81, share_access = 0x7 create_options = 0x...
2007 Aug 16
0
samba3.0.25b group permissions problem via AD+Winbind
...X token of user 105216
Primary group is 100513 and contains 26 supplementary groups
Group[ 0]: 108521
Group[ 1]: 108536
Group[ 2]: 107657
.....
[2007/08/16 11:15:57, 4] smbd/open.c:open_file_ntcreate(1605)
calling open_file with flags=0x2 flags2=0x500 mode=0664, access_mask =
0x2019f, open_access_mask = 0x2019f
[2007/08/16 11:15:57, 10] smbd/open.c:fd_open(67)
fd_open: name test/folder1/New Text Document (2).txt, flags = 02402
mode = 0664, fd = -1. Permission denied
[2007/08/16 11:15:57, 3] smbd/open.c:open_file(301)
Error opening file test/folder1/New Text Document (2).txt
(NT_STATUS_ACCESS...
2018 Feb 14
1
Samba 4.6.4 and Excel 2016 access denied if no Group mode permission
...c:287(get_ea_dos_attribute)
get_ea_dos_attribute: Cannot get attribute from EA on file test.xlsx: Error = Unformatted or incompatible media
[2018/02/12 10:27:10.858225, 4] ../source3/smbd/open.c:3262(open_file_ntcreate)
calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/02/12 10:27:10.858353, 2] ../source3/smbd/open.c:1351(open_file)
jwalker5 opened file test.xlsx read=No write=No (numopen=6)
[2018/02/12 10:27:10.858406, 5] ../lib/dbwrap/dbwrap.c:159(dbwrap_check_lock_order)
check lock order 1 for /smb_ms1/samba/locks/locking.tdb
[2018/02/12 10:...
2011 May 26
1
Confusion berween file and direcory
...hare_access = 0x7
[2011/05/26 15:27:02.145742, 10] smbd/open.c:683(share_conflict)
share_conflict: No conflict due to entry->access_mask = 0x100180
[2011/05/26 15:27:02.145751, 4] smbd/open.c:1977(open_file_ntcreate)
calling open_file with flags=0x1 flags2=0x0 mode=0764, access_mask =
0x2, open_access_mask = 0x2
[2011/05/26 15:27:02.145766, 10] smbd/open.c:170(fd_open)
fd_open: name test-dir, flags = 01 mode = 0764, fd = -1. Is a directory
[2011/05/26 15:27:02.145779, 3] smbd/open.c:461(open_file)
Error opening file test-dir (NT_STATUS_FILE_IS_A_DIRECTORY)
(local_flags=1) (flags=1)
As I said,...