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 --- Doh! That was a typo in my email message. I know I should have cut/pasted it directly from the script but i had messed with the script so many times that the current command was clearly wrong. This is a *real* cut/paste:


fcopy -m ${username},${usergroup},0644 /home/${username}/.config/autostart/my-orca-autostart.desktop


Again, the fcopy command works sort of. The file is created but with wrong ownership and permissions. Am I missing something Though? Does it usually work for a user created during an FAI install? I'm thinking the -m flag might not work because the user doesn't exist in the installation environment. For fcopy to work, it would have to be a combination of copy and chroot. But maybe it is. I don't know how fcopy works.

Somebody suggested putting the file in the user creation skeleton folder. I think I'll try that next.






On 6/16/25 9:53 AM, Thomas Lange wrote:
On Mon, 16 Jun 2025 16:48:07 +0200, Stefan Möding via linux-fai 
<[email protected]> said:
     > Have you tried to use a comma instead of the colon between the username
     > and the groupname?
That's it. We only split the three arguments at the comma.
fcopy should also print this error message:

fcopy: wrong number of options for -m. Exact 3 comma separated items needed.

Thanks Stefan

--- End Message ---

Antwort per Email an