#1070·gun

put() ack on deep path returns ENAMETOOLONG err from relay peer

Author: nsreedCreated Apr 29, 2021Updated Mar 16, 2026

This is the ack.err I'm receiving in the put() callback:

javascript
{
code: "ENAMETOOLONG",
errno: -36,
path: "radata/~7BxxPOfsYoxRoS8MZg4ZToXIgkycgv5fAGMIh2uF18Y.oQwKMmhAN8HQZVSIDtHM6HUuL7FE2B4nn9l34kbH4-A%2Flayers%2Fko1u7yo76w~E3FYy4TjDsp5ayc0GtxLxV73ZMUMtj10eJaHKfPPkhw.GulVqv1RxCny-AqwxemFYFVX4xXzKCgf5wLRT-znSVo%2F%2Fchildren%2Fko2agvjf~E3FYy4TjDsp5ayc0GtxLxV73ZMUMtj10eJaHKfPPkhw.GulVqv1RxCny-AqwxemFYFVX4xXzKCgf5wLRT-znSVo%2F%1BstrokeJoin",
syscall: "open"
}

I believe this is due to a 255 character limit for file names in ext4. I'm in the process of rewriting my app to use a shallower graph structure (i.e., using set() for nested objects wherever possible), but figured it might not hurt to submit an issue for it.