Hello, I am running samba 4.0.25 on a qnap NAS as a Domain Controller. NETLOGON share is available, but it is not possible anymore to execute the logon.bat. QNAP support cannot help (only information is to reinstall firmware) - how can I set the default permissions to this share? Karl
Marc Muehlfeld
2015-Jun-30 15:53 UTC
[Samba] Samba 4.0.25 - restore default folder permissions
Hello Karl, Am 30.06.2015 um 15:54 schrieb Karl Haue:> I am running samba 4.0.25 on a qnap NAS as a Domain Controller. > > NETLOGON share is available, but it is not possible anymore to execute the > logon.bat. > > QNAP support cannot help (only information is to reinstall firmware) - how > can I set the default permissions to this share?I don't know qnap NAS, so I don't know, if you have shell access or can modify smb.conf, etc. For Samba 4.0 and later, my first guess if a batchfile isn't executable any more is, that the x-bit is missing. If you don't have x-bits set and can't set it, you may want to have a look at the "acl allow execute always" option (see smb.conf manpage). Regards, Marc
Marc Muehlfeld
2015-Jul-01 15:20 UTC
[Samba] Samba 4.0.25 - restore default folder permissions
Am 30.06.2015 um 23:13 schrieb Bernd Polster:> yes, shell access is possible on Qnap NAS. > How I set the x-bits?# man chmod Example: # chmod a+x file.bat to set the x-bit for owner/group/other at once on a file. Regards, Marc
Reasonably Related Threads
- Samba 4.0.25 - restore default folder permissions
- Can I restore a Samba instance from an rsync backup?
- sysvolreset - open: error=40 (Too many levels of symbolic links)
- Missing Policies folder after failure; how to recreate
- sysvolreset - open: error=40 (Too many levels of symbolic links)