Can't git -m flag for fcopy to work

John G. Heim jheim at math.wisc.edu
Mon Jun 16 17:54:04 CEST 2025


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 <linux-fai at uni-koeln.de> 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


More information about the linux-fai mailing list