[Eisfair] Samba 2.24.0 als PDC und Win7 desktop.ini
Thomas Bork
tom at eisfair.org
Fr Mär 4 20:45:34 CET 2016
Am 04.03.2016 um 14:51 schrieb Detlef Paschke:
> Lässt sich dahingehend was machen und wann gab es bei Samba dahingehend
> überhaupt eine Änderung? Mir ist da nie was Aufgefallen und ich bin mir
> recht sicher, dass dieses Problem bis vor Kurzem nicht bestand.
Bei Samba gab es diesbezüglich keine Änderung - ich vermute, die
Verlinkung von /proc/self/mounts auf /etc/mtab ab base 2.6.5 führt nun
zu diesem Problem.
Poste die Ausgaben von:
cat /etc/mtab
Beispiel:
testeis # cat /etc/mtab
rootfs / rootfs rw 0 0
/dev/hda3 / ext4
rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
/sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/hda1 /boot ext4
rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
usbfs /proc/bus/usb usbfs rw,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
In /var/install/config.d/samba.sh steht:
for pseudofile in /proc/{ksyms,kallsyms}
do
if [ -e "$pseudofile" ]
then
if grep -q 'posix_acl_' "$pseudofile"
then
if grep ' / ext' /etc/mtab | grep 'acl,user_xattr'
>/dev/null 2>&1
then
# disabled for samba 4.1.0
#echo " acl compatibility = auto"
echo " force unknown acl user = yes"
echo " inherit acls = yes"
echo " map acl inherit = yes"
echo " map hidden = no"
echo " map system = no"
echo " map archive = no"
echo " map read only = no"
echo " store dos attributes = yes"
echo " ea support = yes"
fi
fi
fi
done
Der grep-Befehl muss abgewandelt werden auf:
if grep ' / ext' /etc/mtab | grep 'user_xattr' >/dev/null 2>&1
Denn in mtab steht nicht mehr acl,user_xattr.
Schaffe ich eventuell morgen Abend, muss jetzt los...
--
der tom
[eisfair-team]
Mehr Informationen über die Mailingliste Eisfair