Displaying 4 results from an estimated 4 matches for "smb_set_file_unix_basic".
2009 Mar 11
2
chown failure on a samba share
...printable = yes
ls -l /tmp/cifstest8/file2
-rwxrwxrwx 1 root root 0 Mar 10 10:47 /tmp/cifstest8/file2
[2009/03/10 11:40:24, 3] smbd/trans2.c:6831(call_trans2setfilepathinfo)
call_trans2setfilepathinfo(6) file2 (fnum -1) info_level=512 totdata=100
[2009/03/10 11:40:24, 10] smbd/trans2.c:6069(smb_set_file_unix_basic)
smb_set_file_unix_basic: SMB_SET_FILE_UNIX_BASIC: name = file2 size
= 0, uid = 65534, gid = 65533, raw perms = 037777777777
[2009/03/10 11:40:24, 10] smbd/trans2.c:6129(smb_set_file_unix_basic)
smb_set_file_unix_basic: SMB_SET_FILE_UNIX_BASIC changing owner
65534 for path file2
[2009/03/10 11:...
2017 May 25
3
Not possible to chown as guest?
...EST-FILE
-rw-r--r-- 1 ja 65534 0 May 25 12:01 TEST-FILE
$ chown ja:users TEST-FILE
chown: changing ownership of 'TEST-FILE': Permission denied
Strace from Samba on OpenWRT says:
[pid 15806] lchown("something", -1, 100) = -1 EPERM (Operation not permitted)
and Samba log says:
smb_set_file_unix_basic: SMB_SET_FILE_UNIX_BASIC: name = something
size = 0, uid = 1000, gid = 100, raw perms = 037777777777
[2017/05/24 23:21:55.355240, 10, pid=26013, effective(99, 99),
real(99, 0)] ../source3/smbd/trans2.c:7623(smb_set_file_unix_basic)
smb_set_file_unix_basic: SMB_SET_FILE_UNIX_BASIC changing owner 1...
2014 Feb 04
1
Samba 3.6.3 and NT_STATUS_INVALID_PARAMETER
...d10c885bfb91 (fnum 16721)
info_level=512 totdata=100
[2014/02/04 12:34:49.808142, 3] smbd/trans2.c:7626(smbd_do_setfilepathinfo)
smbd_do_setfilepathinfo:
bw-gen/node93-ae945955-8d98-11e3-8969-d10c885bfb91 (fnum 16721)
info_level=512 totdata=100
[2014/02/04 12:34:49.808172, 10] smbd/trans2.c:6898(smb_set_file_unix_basic)
smb_set_file_unix_basic: SMB_SET_FILE_UNIX_BASIC: name =
bw-gen/node93-ae945955-8d98-11e3-8969-d10c885bfb91 size = 0, uid =
4294967295, gid = 4294967295, raw perms = 037777777777
[2014/02/04 12:34:49.808205, 6] smbd/trans2.c:5622(smb_set_file_size)
smb_set_file_size: size: 0 smb_set_fil...
2004 Jul 20
0
chmod and unix extensions
...y mask = 0755
force directory mode = 00
directory security mask = 0777
force directory security mode = 00
debug log file gives:
[2004/07/20 13:10:44, 10, pid=24949, effective(6923, 18), real(0, 0)]
smbd/trans2.c:call_trans2setfilepathinfo(3392)
call_trans2setfilepathinfo: SMB_SET_FILE_UNIX_BASIC: name = testfile
size = 39, uid = 4294967295, gid = 4294967295, raw perms = 0100777
[2004/07/20 13:10:44, 10, pid=24949, effective(6923, 18), real(0, 0)]
smbd/trans2.c:call_trans2setfilepathinfo(3454)
call_trans2setfilepathinfo: SMB_SET_FILE_UNIX_BASIC setting mode
0744 for file testfile