Can't git -m flag for fcopy to work

John G. Heim jheim at math.wisc.edu
Mon Jun 16 06:28:42 CEST 2025


I'm trying to reproduce the steps Debian takes to enable the Orca screen 
reader when you install using a screen reader. I believe to do this, 
they copy a file into the home directory of the user you create during 
the install. They create a file called 
.config/autostart/my-orca-autostart.desktop which automatically starts 
the screen reader when the user log in.

So in my FAI install, I just want to copy that file to a user's home 
directory. Problem is the files/folders created are owned by root.

My fcopy cammand looks like this:


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


the vars username and usergroup are set in a class script. I am rather 
certain they are correct because the script to create the user itself 
works. The user's home directory is created with the correct owner and 
permissions.





More information about the linux-fai mailing list