Tellyport
Sign in

Guides · webOS Dev Manager error

webOS Dev Manager "failed to open remote file": causes and fixes

If installing an .ipk on an LG TV stops with "failed to open remote file ... for writing: permission denied", the TV is refusing the temporary file. On TVs updated to webOS 26 the fix is to update Dev Manager or install with LG's official CLI.

By the Tellyport team · Updated

What the error means

The full message usually looks like this, with a long number in the file name:

Failed to open remote file /tmp/devman_dl_1780493671784.ipk for writing: permission denied

webOS Dev Manager installs an app in two steps. First it copies the .ipk package to a temporary file on the TV. Then it asks the TV's installer to install that file. The error comes from the first step: the TV would not let Dev Manager create the temporary file, so the install never started.

When your TV is in Developer Mode, Dev Manager connects over SSH as a restricted user called prisoner. That user can only write to certain folders. If the folder Dev Manager picks is not one of them, you get "permission denied". The error is not about your .ipk being broken, and it is not about your network.

Since March 2026 this error has been reported by many owners of LG TVs that were updated to webOS 26 (shown in the TV's settings as webOS 11.x) or that shipped with it, often when they tried to install the Homebrew Channel. The reports are collected in issue 403 on the Dev Manager GitHub project.

The main cause: webOS 26 locked the temporary folder

Users who looked at the file system on affected TVs found that the prisoner user can no longer write to /tmp, and cannot write directly into /media/developer either. The subfolder /media/developer/temp is still writable. Older versions of Dev Manager always staged the package in /tmp, which is why the install fails on these TVs and worked before the update.

This also explains why the usual tricks do not help. Users reported that a fresh passphrase, a TV restart, and even turning Developer Mode fully off and on again left the permission unchanged. What changed is the TV's file permissions, not your setup.

If you are on webOS 26 and see this exact message, skip straight to fix 1 or fix 2 below. The checks further down are for connection and key problems, which show different errors.

Fix 1: update webOS Dev Manager to 1.99.20 or later

The Dev Manager maintainers fixed this in version 1.99.20, released on 19 August 2026. Its release notes say installs now work on webOS 11 because the .ipk is placed in /media/developer/temp, the same location LG's own ares-install uses. When we checked in November 2026, the newest release was 1.99.21.

  1. Open the Dev Manager releases page on GitHub and download the newest version for your computer (Windows, macOS, Linux or Android).
  2. Install it over your old version. Your saved TV should still be listed.
  3. On the TV, open the Developer Mode app and check that the session has time left.
  4. In Dev Manager, connect to the TV and install the app again.

On macOS 26, some users found Dev Manager could not reach the TV at all until they allowed it to use the local network under Privacy settings. If the update installs but the TV shows as unreachable, check that permission first.

Fix 2: install with LG's official webOS CLI

If you cannot update Dev Manager, or would rather use LG's own tools, the webOS CLI installs an .ipk on a TV in Developer Mode. Users in the GitHub thread confirmed it works on webOS 26 TVs. One user found the older @webosose/ares-cli package hit a similar permission error and the current @webos-tools/cli package worked, so make sure you install the current one.

  1. Install Node.js and npm. LG recommends Node.js 14.15.1 to 16.20.2; check LG's CLI installation page, as this can change.
  2. If you have the older webOS TV CLI or webOS OSE CLI installed, uninstall it first, as LG asks.
  3. Install the CLI:
    npm install -g @webos-tools/cli
  4. On the TV, open the Developer Mode app and turn on Key Server. Note the six-character passphrase; it is case sensitive.
  5. Register the TV, using its current IP address:
    ares-setup-device --add myTV -i "host=192.168.1.50" -i "port=9922" -i "username=prisoner"
  6. Fetch the SSH key and enter the passphrase when asked:
    ares-novacom --device myTV --getkey
  7. Install your app and check it is there:
    ares-install --device myTV ./com.example.app_1.0.0_all.ipk
    ares-install --device myTV --list

Replace 192.168.1.50 with your TV's address and the file name with your own package. A successful install prints a success message.

Other things to rule out

If you are not on webOS 26, or the fixes above lead to a different error, work through these checks. They cover the problems that most often stop Dev Manager or the CLI from talking to an LG TV.

The Developer Mode session has run out

LG Developer Mode only lasts for a limited time, shown as Remain Session in the Developer Mode app. You can press Extend while the TV is online, but not after the time has run out. Developer Mode also turns off if the TV reboots ten times without a network connection, or reboots after the session has expired. When it turns off, apps you installed through it are removed and you have to sign in and enable it again.

The Key Server is off

The Key Server is off by default and turns off again when the TV reboots, a Dev Manager maintainer explained on GitHub. Turn it on, leave the TV on that screen, and finish the setup on your computer. To check that it is really running, open http://<TV IP>:9991/webos_rsa in a browser on the same network; a refused connection means the key server is not listening. Several users fixed a key server that would not respond by turning Developer Mode off, uninstalling the Developer Mode app, and installing it again from the LG store.

The TV's IP address has changed

Routers often give the TV a new address after a restart. If the saved address is old, nothing connects. Check the TV's address in its network settings, then update the device:

ares-setup-device --modify myTV -i "host=192.168.1.60"
ares-setup-device --list

ares-setup-device --search can also find webOS devices on your network. In Dev Manager, edit the saved device and enter the new address. Giving the TV a fixed address in your router avoids this.

Wrong passphrase or old key

The passphrase is six characters and case sensitive, and it belongs to the current Developer Mode setup. If you re-enabled Developer Mode, fetch the key again with ares-novacom --getkey or re-run the Dev Manager setup with the new passphrase.

Rooted TVs use different login details

If your TV is rooted rather than in Developer Mode, Dev Manager has a separate rooted mode in its setup wizard. A maintainer noted that a rooted TV uses the user root on port 22, not prisoner on port 9922. Mixing the two gives permission and login errors.

Quick reference

What you seeLikely causeWhat to do
"Failed to open remote file /tmp/devman_dl_...ipk for writing: permission denied"webOS 26 does not let the Developer Mode user write to /tmpUpdate Dev Manager to 1.99.20 or later, or use ares-install from @webos-tools/cli
Key cannot be fetchedKey Server off, or not responding on port 9991Turn Key Server on; if still refused, reinstall the Developer Mode app
No route to host, or timeoutsOld IP address, or (on macOS 26) no local network permissionUpdate the TV's address; allow local network access for Dev Manager
Sideloaded apps vanishedDeveloper Mode session expiredEnable Developer Mode again and extend it before it runs out
Login fails on a rooted TVDeveloper Mode login details usedUse Dev Manager's rooted mode with user root, port 22

Keep in mind that LG describes Developer Mode as a tool for testing apps, not for permanent use, and that apps for everyday viewers are meant to come from LG's store.

How Tellyport avoids most of the sideloading

If you are building your own app for LG TVs, sideloading is only one step, and most of the time you can avoid repeating it. Studio, the Tellyport TV app builder, is built around that.

  • Live preview on a real TV. While you design, every change shows on the television in front of you. You check focus, text size and colours without packaging and installing a new .ipk each time.
  • A store-ready .ipk. When the design is ready, Studio builds a webOS .ipk with your icons, including LG's 80 and 130 pixel icons and splash. You can install it on a TV in Developer Mode with ares-install for a final check, then submit it.
  • An LG Seller Lounge checklist. LG does not take submissions by API, so Tellyport gives you a step-by-step checklist with links to the console and saves your progress. You submit under your own LG seller account. Our guide to Samsung Tizen vs LG webOS covers what LG's review asks for.
  • Updates without reinstalling. After install, the design and content keep updating from Tellyport. You rebuild only to change the name, icon or version.

The same design also builds a Samsung .wgt and apps for the other TV platforms; see how it works and the documentation. The Free plan on the pricing page covers one app on up to 5 active devices with every feature, and needs no card.

See pricing

FAQ

Questions people ask

Something else? Talk to us.

What does "failed to open remote file /tmp/devman_dl_...ipk for writing: permission denied" mean?

webOS Dev Manager first copies the .ipk to a temporary file on the TV and then asks the TV to install it. The message means the TV did not let the Developer Mode user write that temporary file. On TVs updated to webOS 26, the /tmp folder is no longer writable for that user.

Which version of webOS Dev Manager fixes it?

Version 1.99.20, released on 19 August 2026, changed Dev Manager to stage the .ipk in /media/developer/temp instead of /tmp, the same place LG's ares-install uses. Use 1.99.20 or later; 1.99.21 was the newest release when we checked.

Can I install the .ipk without Dev Manager?

Yes. LG's official webOS CLI installs apps on a TV in Developer Mode. Install it with npm install -g @webos-tools/cli, register the TV with ares-setup-device, fetch the key with ares-novacom --getkey, then run ares-install with the path to your .ipk.

Does turning Developer Mode off and on again fix it?

Not for the webOS 26 permission change. One user reported that a full disable and re-enable did not restore write access to /tmp. It also removes every app you installed through Developer Mode, so try updating Dev Manager or using the official CLI first.

Why do my sideloaded apps disappear from my LG TV?

LG Developer Mode runs for a limited time. When the session runs out, or the TV reboots ten times without a network connection, Developer Mode turns off and the apps installed through it are removed. Extend the session in the Developer Mode app before it runs out.

Is webOS Dev Manager an official LG tool?

No. It is an open-source community project from webosbrew on GitHub. LG staff on the LG developer forum have said they do not provide it and point users to its own support channels. LG's official tools are the webOS CLI and webOS Studio.

Start with one app, free.

Upgrade when your audience grows. No card required.

Free plan · no card required

Create your Tellyport account

We'll set up your organization and your first app. You can pick a template next.