Overview
| Artifact ID: | 8c6613edf979a7bbf37a36aa32c7c2f5196f2b63 |
|---|---|
| Ticket: | e3c34af10dd28780f0718a6b1e826da4f52a3755
can't run fossil clone command when not at tty |
| User & Date: | anonymous 2009-06-14 09:04:59 |
Changes
- comment changed to:
I try to run a clone command to create a local repository in a startup script which runs at boot. The command fails, and when standard error is redirected to a file, the cryptic message "fossil: cannot local home directory" is found. The same command succeeds when run from the command line while logged in at a terminal. The command looks like: fossil clone http://<user>:<pass>@localhost:7071 /home/<user>/fossil/repository.fsl The script is run as root, the directory /home/<user>/fossil exists, a local tunnel is created to a remote repository via ssh. For debugging purposes, I edited the startup script so that the clone command is in a while loop as long as repository.fsl doesn't exist. While the startup script was stuck in the loop, I logged in and executed the clone command on the command line as root, and it worked fine. This suggests there is no problem with the tunnel or environment.
- foundin changed to: "fossil-linux-x86-767ae79c3d"
- private_contact changed to: "22e3b7a55e291d179313f4c2e34877f09743ee31"
- severity changed to: "Severe"
- status changed to: "Open"
- title changed to: "can't run fossil clone command when not at tty"
- type changed to: "Code_Defect"