[Samba] Unable to write to share having same name as directory?

Rowland Penny rpenny at samba.org
Fri Nov 10 10:14:23 UTC 2023


On Fri, 10 Nov 2023 09:47:12 +0000
Luis Peromarta via samba <samba at lists.samba.org> wrote:

> Interesting to see an attachment in this list …
> 
> LP
>

that interested me as well, normally I get the attachments because I am
a team member, but if others are now getting them, I wonder if
something has changed ?

Anyway, reading the logs, it looks like the OP has a very sparse
smb.conf:

[global]
	fruit:copyfile = yes
	fruit:delete_empty_adfiles = yes
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:nfs_aces = no
	fruit:veto_appledouble = no
	fruit:metadata = stream
	idmap config * : backend = tdb
	vfs objects = fruit catia streams_xattr

[console]
	path = /storage/console
	read only = No

And picking out lines from the logs shows this:

..............
make_connection_snum: Connect path is '/storage/console' for service [console]
check_user_share_access: falling back to read-only access-evaluation
due to security descriptor
..............
..........
open_directory: opening directory aa, access_mask = 0x80, share_access = 0x3 create_options = 0x1, create_disposition = 0x2, file_attributes = 0x10
mkdir_internal: failing share access console
open_directory: unable to create aa. Error was NT_STATUS_ACCESS_DENIED
................

It looks to me that perhaps the permissions on the share are not
allowing access.

Rowland




More information about the samba mailing list