Hello list,
I'm having a "fun" time trying to figure out my ACL problems.
I've gone through the default ACL settings and the mask settings on
the filesystem to ensure that the user I am using does indeed have
access to the filesystem that is being shared out.
My issue is that I am unable to overwrite a file that already exists
with another file of the same name. I get the windows dialog "Are you
sure you want to overwrite this file" but when selecting "yes" it
fails with a big fat "The request is not supported". I can
edit/rename/delete this file so I think I have the right ACLs on the
folder it is in and on the file itself.
Here is the ACL on the folder that contains the file:
~ getfacl test
# file: test
# owner: root
# group: root
user::rwx
group::r-x
group:DOMAIN\134domain\040admins:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::r-x
default:group:DOMAIN\134domain\040admins:rwx
default:mask::rwx
default:other::r-x
And here is the ACL on the actual file:
~ getfacl New\ Text\ Document.txt
# file: New\040Text\040Document.txt
# owner: DOMAIN\134Myuser
# group: DOMAIN\134domain\040users
user::rwx
group::r-x
group:DOMAIN\134domain\040admins:rwx
mask::rwx
other::r--
Here is the output from the logfile when I click yes to the dialog to
overwrite the file:
[2010/05/07 03:34:38.392475, 3] smbd/process.c:1485(process_smb)
Transaction 422 of length 144 (0 toread)
[2010/05/07 03:34:38.392572, 3] smbd/process.c:1294(switch_message)
switch message SMBntcreateX (pid 11135) conn 0x7fa8cc722b40
[2010/05/07 03:34:38.392670, 3] smbd/vfs.c:851(check_reduced_name)
check_reduced_name [test/New Text Document.txt] [/gpfs1]
[2010/05/07 03:34:38.392724, 3] smbd/vfs.c:1008(check_reduced_name)
check_reduced_name: test/New Text Document.txt reduced to
/gpfs1/test/New Text Document.txt
[2010/05/07 03:34:38.392752, 3] smbd/vfs.c:851(check_reduced_name)
check_reduced_name [test/New Text Document.txt] [/gpfs1]
[2010/05/07 03:34:38.392792, 3] smbd/vfs.c:1008(check_reduced_name)
check_reduced_name: test/New Text Document.txt reduced to
/gpfs1/test/New Text Document.txt
[2010/05/07 03:34:38.392833, 3] smbd/dosmode.c:166(unix_mode)
unix_mode(test/New Text Document.txt) returning 0764
[2010/05/07 03:34:38.392859, 3] smbd/vfs.c:851(check_reduced_name)
check_reduced_name [test/New Text Document.txt] [/gpfs1]
[2010/05/07 03:34:38.392899, 3] smbd/vfs.c:1008(check_reduced_name)
check_reduced_name: test/New Text Document.txt reduced to
/gpfs1/test/New Text Document.txt
[2010/05/07 03:34:38.393030, 1] modules/vfs_gpfs.c:961(gpfs_get_xattr)
gpfs_get_xattr:name is user.SAMBA_PAI
[2010/05/07 03:34:38.393133, 2] smbd/open.c:631(open_file)
DOMAIN\Myuser opened file test/New Text Document.txt read=No write=Yes
(numopen=2)
[2010/05/07 03:34:38.393339, 3] smbd/error.c:80(error_packet_set)
error packet at smbd/error.c(160) cmd=162 (SMBntcreateX)
NT_STATUS_NOT_SUPPORTED
I should also note that if I try to overwrite a folder with a folder
of the same name instead of a file with a file of the same name, it is
successful.
Any help would be greatly appreciated.
Thanks,
Bigbeer