BiglySoftware / BiglyBT

Feature-filled Bittorrent client based on the Azureus open source project
https://www.biglybt.com
GNU General Public License v2.0
1.53k stars 152 forks source link

setLength fails, ftruncate failed: EPERM #2462

Closed mortefer closed 2 years ago

mortefer commented 2 years ago

There is an error on nvidia shield after recent uodate to Android 11 for the new torrent files. It reads basically the following: setLength fails, ftruncate failed: EPERM (Operation not permitted) (allocateFiles existing:/storage/2D81-1929/ NVIDIA_SHIELD/tvshows/....)

However when downloading the torrents that have files already allocated - like interrupted downloads, everyhting works just fine, files are downloaded successfully.

mortefer commented 2 years ago

Correction on interrupted downloads: when file is close to be completed the following error pops up: Disk access error: close fails, close failed: EPERM (Operation not permitted)

All the permissions to access the files are set to Allowed in system settings for thrle app

mortefer commented 2 years ago

Can be closed, update 9.0.1 to nvidia shield fixed the issue

parg commented 2 years ago

Thanks for solving it :)