I am investigating whether I can fix the error by using an option, '--user-data-dir=/tmp', when I launch the chromiumdriver.
First, snap has made the use of this simple tool, chromiumdriver, much more complex. Second, I have tried to uninstall the snap version of the tool and I cannot now install a non-snap version. Somehow snap has soured the soup. If it is going to cause these kinds of problems, I am certainly not going to be trying to use snap for other tools unless I have to. If the install requirements are very complex, such as with installing certificates, snap is a good thing. But when the install process is simple, one should not use snap? Is that the solution? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1932990 Title: cannot create user data directory: /opt/appserver/snap/chromium/1646: Permission denied Status in chromium-browser package in Ubuntu: New Bug description: All I am getting is: cannot create user data directory: /opt/appserver/snap/chromium/1646: Permission denied Jun 18, 2021 9:11:36 PM org.openqa.selenium.os.OsProcess checkForError But: # ls -ld /opt/appserver/snap/chromium/1646 drwxr-xr-x 2 appserver appserveradm 4096 Jun 18 20:46 /opt/appserver/snap/chromium/1646 The application (a java app) that is making the call to selenium is owned by appserver. So what could the problem be? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1932990/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

