Elektrine lite

← Feed

@kagan@wandering.shop

Post #1427887

2026-03-23 14:17 UTC

I've set it up to do some logging. Among other things, I've had it check with the -d and -r flags that yes, the target directory exists, and is readable by the script. (It's writable for it, as well; I've even had the script touch a zero-byte file in there. That works fine, both from the menu and via cron.) 2/4

Replies (1)

  • @kagan@wandering.shop 2026-03-23 14:18

    But when I have it run files=($dirname/*) (with "shopt -s nullglob" set, although I know the directory in question is populated)... it hangs. Nothing more goes into the log, and the script doesn't terminate. I have to Ctrl-C it. Unless I run it manually! Then it works fine! So it's not a permissions issue, or a syntax issue! (Also, when it creates that zero-byte file, it shows up with my user and group ownership. So it's doubly not a permissions issue.) 3/4

    Open ##1427888