Re: [Samba] Weird permissions issues with samba shares and XFS
- Date: Thu, 14 Jun 2018 09:56:03 +0200
- From: "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Weird permissions issues with samba shares and XFS
Read this :
See : Setting Share Permissions and ACLs
Click Start, enter Computer Management, and start the application.
Select Action / Connect to another computer.
Enter the name of the Samba host and click OK to connect the console to the host.
Open the System Tools / Shared Folders / Shares menu entry.
Use explorer, browse to a folder, goto the security tab.
Your problem is the "SHARE" permission.
By default the SHARE permission is everybody Full controll
Thats ok, now everybody is able to read/write..
But only if the FOLDER permissions allow it.
/storage/test does not have the correct persmissions
Share permissiong allow to write but Folder permissions not.
cp -a --preserve=xattr wil help imo.
Below i bit more
> -----Oorspronkelijk bericht-----
> I created three entries in our server's smb.conf:
> path = /storage/test
> comment = Sharing root of XFS
> path = /storage/test/foo
> comment = Sharing foo
> path = /storage/test/bar
> comment = Sharing bar
> I can list all 3 shared with `smbclient -L //localhost`, as
> expected. Now
> for the issues I cannot figure out:
> 1. doing `ls` in `smbclient //localhost/test`, I get
> "NT_STATUS_ACCESS_DENIED listing \*"
Yes, but which user is runing the command?
> ls -l /storage/test/
> drwxrwxr-x+ 2 root domain_admins 6 Jun 14 10:37 bar
> drwxrwxr-x+ 2 root domain_admins 6 Jun 14 10:37 foo
You missed ls -l /storage
What are the rights on /storage/test ?
To unsubscribe from this list go to the following URL and read the