Hello,
I am trying to set up taskwarrior sync on my phone, and I am having trouble having the app access some files on my device. Ideally, I would place the ca, key and cert files in the working directory of taskwarrior:
/storage/emulated/0/Android/data/kvj.taskw/files/dab[...]af/.taskrc.android
However, I can't access it from either connecting the Nexus 5x to my computer and enabling file sharing. Nor can I access it from the file browser on the Android device. The area I can access is "Internal shared storage". If I go further up the directory tree, it takes me to /storage/emulated. When I try to view (ls) the directories above "Internal shared storage" using Termux, I get a permissions denied error message. I can not change directory to a /storage/emulated/0, so I am assuming I don't have permissions to place files in the taskwarrior working directory unless I root my phone.
My alternative was to place the files (ca, cert and key) in Internal shared storage/Taskwarrior/. Then, I changed the config file to:
taskd.server=freecinc.com:53589
taskd.certificate="/Internal shared storage/Taskwarrior/freecinc_1c4d328b.cert.pem"
taskd.key="/Internal shared storage/Taskwarrior/freecinc_1c4d328b.key.pem"
taskd.ca="/Internal shared storage/Taskwarrior/freecinc_1c4d328b.ca.pem"
taskd.credentials="FreeCinc/freecinc_1c4d328b/[REDACTED]"
However, taskwarrior still wasn't syncing. The message in the log says:
17:24:41: CA file: /Internal shared storage/Taskwarrior/freecinc_1c4d328b.ca.pem, exist: false, isFile: false, isFolder: false
17:24:41: Certificate file: /Internal shared storage/Taskwarrior/freecinc_1c4d328b.cert.pem, exist: false, isFile: false, isFolder: false
17:24:41: Key file: /Internal shared storage/Taskwarrior/freecinc_1c4d328b.key.pem, exist: false, isFile: false, isFolder: false
So, apparently taskwarrior is not finding the files. I think I have the directory incorrect, but I don't know what to change it to.
I am requesting some help. How do I find the path for files in /Internal shared storage/Taskwarrior? Could I put the files in the taskwarrior working directory instead? Any help you could provide would be greatly appreciated.
I am trying to set up taskwarrior sync on my phone, and I am having trouble having the app access some files on my device. Ideally, I would place the ca, key and cert files in the working directory of taskwarrior:
/storage/emulated/0/Android/data/kvj.taskw/files/dab[...]af/.taskrc.android
However, I can't access it from either connecting the Nexus 5x to my computer and enabling file sharing. Nor can I access it from the file browser on the Android device. The area I can access is "Internal shared storage". If I go further up the directory tree, it takes me to /storage/emulated. When I try to view (ls) the directories above "Internal shared storage" using Termux, I get a permissions denied error message. I can not change directory to a /storage/emulated/0, so I am assuming I don't have permissions to place files in the taskwarrior working directory unless I root my phone.
My alternative was to place the files (ca, cert and key) in Internal shared storage/Taskwarrior/. Then, I changed the config file to:
taskd.server=freecinc.com:53589
taskd.certificate="/Internal shared storage/Taskwarrior/freecinc_1c4d328b.cert.pem"
taskd.key="/Internal shared storage/Taskwarrior/freecinc_1c4d328b.key.pem"
taskd.ca="/Internal shared storage/Taskwarrior/freecinc_1c4d328b.ca.pem"
taskd.credentials="FreeCinc/freecinc_1c4d328b/[REDACTED]"
However, taskwarrior still wasn't syncing. The message in the log says:
17:24:41: CA file: /Internal shared storage/Taskwarrior/freecinc_1c4d328b.ca.pem, exist: false, isFile: false, isFolder: false
17:24:41: Certificate file: /Internal shared storage/Taskwarrior/freecinc_1c4d328b.cert.pem, exist: false, isFile: false, isFolder: false
17:24:41: Key file: /Internal shared storage/Taskwarrior/freecinc_1c4d328b.key.pem, exist: false, isFile: false, isFolder: false
So, apparently taskwarrior is not finding the files. I think I have the directory incorrect, but I don't know what to change it to.
I am requesting some help. How do I find the path for files in /Internal shared storage/Taskwarrior? Could I put the files in the taskwarrior working directory instead? Any help you could provide would be greatly appreciated.