On Tue, Mar 10, 2009 at 09:41:58PM -0500, Shirish Pargaonkar wrote: > On Tue, Mar 10, 2009 at 9:32 PM, Shirish Pargaonkar > <shirishpargaon...@gmail.com> wrote: > > Is this working as designed or a samba bug? > > > > I am trying to chown ownership of a file in a samba share and it > > results in an error. > > > > cifstest6:~ # smbclient //cifstest8/smb8 -U root > > Enter root's password: > > Domain=[CIFSTEST8] OS=[Unix] Server=[Samba 3.4.0-GIT-e6a5f11-devel] > > smb: \> chown 65534 65534 file2 > > NT_STATUS_ACCESS_DENIED chown file \file2 uid=65534, gid=65534 > > > > The share is thus exported > > > > [smb88] > > path = /tmp/cifstest88 > > browseable = Yes > > read only = No > > guest ok = Yes > > writable = yes > > 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:40:24, 3] smbd/error.c:60(error_packet_set) > > error packet at smbd/trans2.c(7087) cmd=50 (SMBtrans2) > > NT_STATUS_ACCESS_DENIED
Just tried with current master: Works fine for me. Can you post an strace of smbd trying to do this? Volker
pgpWqkha3WD0B.pgp
Description: PGP signature
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba