Displaying 2 results from an estimated 2 matches for "permdir".
2015 Jan 27
2
Permissions Changing on BIND, Causing Samba Trouble
Greetings,
For whatever reason, the BIND server running on our Samba AD instance
changes permissions on /var/lib/samba/private/ldapi and
/var/lib/samba/private to root:root, and causes all kinds of trouble. If
I change the permissions back to named:root, it works fine. But after
about 3 or 4 weeks it will revert back to root:root. How do I prevent
this from happening in the future?
Thanks.
2015 Jan 28
0
Permissions Changing on BIND, Causing Samba Trouble
your permissions are set wrong.
I dont know your OS, but this is what i use on debian.
read this part of my script and adapt what you need for your OS.
for debian user "named" = bind
permdir=$(stat -c %a "/var/lib/samba/private")
if [ "$permdir" = "755" ]; then
echo "/var/lib/samba/private permissions are 755, which is ok."
else
echo "enable-ing access for bind in /var/lib/samba/private"
chmod 755 /var/li...