search for: st_ex_uid

Displaying 6 results from an estimated 6 matches for "st_ex_uid".

Did you mean: st_ex_gid
2016 Mar 09
4
mkdir-dup test flapping
...truct differs for " 3642 "directory %s.\n", 3643 smb_fname_str_dbg(smb_dname))); 3644 fd_close(fsp); (gdb) p smb_dname->st $1 = {st_ex_dev = 64512, st_ex_ino = 44701075, st_ex_mode = 16877, st_ex_nlink = 2, st_ex_uid = 50133, st_ex_gid = 50133, st_ex_rdev = 0, st_ex_size = 0, st_ex_atime = {tv_sec = 1457488009, tv_nsec = 820161188}, st_ex_mtime = {tv_sec = 1457488009, tv_nsec = 820161188}, st_ex_ctime = { tv_sec = 1457488009, tv_nsec = 820161188}, st_ex_btime = { tv_sec = 1457488009, tv_nsec = 82016...
2016 Mar 09
0
mkdir-dup test flapping
...3642 "directory %s.\n", > 3643 smb_fname_str_dbg(smb_dname))); > 3644 fd_close(fsp); > (gdb) p smb_dname->st > $1 = {st_ex_dev = 64512, st_ex_ino = 44701075, st_ex_mode = 16877, > st_ex_nlink = 2, st_ex_uid = 50133, st_ex_gid = 50133, st_ex_rdev = 0, > st_ex_size = 0, st_ex_atime = {tv_sec = 1457488009, tv_nsec = 820161188}, > st_ex_mtime = {tv_sec = 1457488009, tv_nsec = 820161188}, st_ex_ctime = { > tv_sec = 1457488009, tv_nsec = 820161188}, st_ex_btime = { > tv_sec = 1457488...
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...> struct security_acl *new_dacl = NULL; > int idx = 0; > > - DEBUG(10,("make_default_filesystem_acl: file %s mode = 0%o\n", > - name, (int)mode )); > + DBG_DEBUG("file %s mode = 0%o\n",name, (int)mode); > > uid_to_sid(&owner_sid, psbuf->st_ex_uid); > gid_to_sid(&group_sid, psbuf->st_ex_gid); > @@ -495,6 +507,29 @@ static NTSTATUS make_default_filesystem_acl(TALLOC_CTX *ctx, > return NT_STATUS_OK; > } > > +static NTSTATUS make_default_filesystem_acl(TALLOC_CTX *ctx, > + struct acl_common_config *con...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...struct security_ace aces[4]; > + uint32_t access_mask = 0; > + mode_t mode = psbuf->st_ex_mode; > + struct security_acl *new_dacl = NULL; > + int idx = 0; > + > + DBG_DEBUG("file [%s] mode [0%o]\n", name, (int)mode); > + > + uid_to_sid(&owner_sid, psbuf->st_ex_uid); > + gid_to_sid(&group_sid, psbuf->st_ex_gid); > + > + /* > + * We provide 2 ACEs: > + * - Owner > + * - NT System > + */ > + > + if (mode & S_IRUSR) { > + if (mode & S_IWUSR) { > + access_mask |= SEC_RIGHTS_FILE_ALL; > + } else { > +...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote: > On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote: > > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote: > > > > > > Yeah, as much as I'd like to avoid adding a new option, I guess we > > > have to do something about it, my latest take on this is >