Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.
--- Begin Message --- I'm looking at the example scripts in the fai-doc package. The example script,

/usr/share/doc/fai-doc/examples/simple/scripts/DEMO/10-misc  has this code fragment:


$ROOTCMD mkdir -p $xfdir
        $ROOTCMD cp /etc/xdg/xfce4/panel/default.xml $xfdir/xfce4-panel.xml
        # group name is the same as user name
        $ROOTCMD chown -R $username:$username $userdir/.config


So there they are creating the .config directory, copying a file into it, and changing the ownership. They are not using fcopy. Actually if the above code fragment worked, it would fix my problem because it changes the ownership of everything in the .config directory. But that code fragment is not triggered in my install because it runs only if some subdir already exists.

So this is actually what lead me to ask the question here. The above code fragment in the fai example scripts lead me to think I am not understanding what the -m flag is supposed to do. If the -m flag works as I think, why did the autor of thatcode not use fcopy?




--- End Message ---

Antwort per Email an