Luis Peromarta
2023-Nov-10 09:47 UTC
[Samba] Unable to write to share having same name as directory?
Interesting to see an attachment in this list ? LP On 9 Nov 2023 at 23:53 +0000, John Klimek via samba <samba at lists.samba.org>, wrote:> Is there a known issue with creating a share having the same name as the > directory? > > For example, I'm sharing "/storage/console" as [console] and it is not > writable. However, if I name it [consoleS] then it becomes writable. > > The error in the debug log is: check_user_share_access: falling back to > read-only access-evaluation due to security descriptor > > I've attached a full debug log from my system. > > This also seems to have been mentioned a few other places: > https://ubuntuforums.org/showthread.php?t=2468150 > https://askubuntu.com/questions/724916/can-read-but-cannot-write-to-samba-share > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Rowland Penny
2023-Nov-10 10:14 UTC
[Samba] Unable to write to share having same name as directory?
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