Skip to content

[🐛 Bug]: Read-only file system (os error 30) #12774

@PulseBeat02

Description

@PulseBeat02

What happened?

While using Selenium in my application in a Java closed environment, Selenium outputted just the following error (there was no Java error involved)
[org.openqa.selenium.manager.SeleniumManager] Read-only file system (os error 30)

After doing some further research, this is because the tool which is used to install drivers for users, SeleniumManager requires a cache path that has permissions for it to modify. In my case, I can't give it permissions. I have to create a new cache folder which can give it the sufficient permissions.

Upon looking at the Wiki page for documentation, it has an argument for --cache-path which allows the user to change the cache path.

However, the issue is that the Java API doesn't have any flexibility for the users to change arguments. The Java class is here, and the function that gets the path just accepts a Capabilities and boolean offline as arguments. The actual arguments that are used to execute the program is contained by an ArrayList that is only created within the function. Users can't modify the list of arguments otherwise.

Please make an API change which will allow users to implement other arguments when executing the Selenium Manager.

How can we reproduce the issue?

To reproduce, just host a file system where there are insufficient permissions for the default cache folders Selenium Manager uses.

Relevant log output

None (Above)

Operating System

Ubuntu

Selenium version

Java 4.12.1

What are the browser(s) and version(s) where you see this issue?

Not sure (it didn't download the driver)

What are the browser driver(s) and version(s) where you see this issue?

Not sure (it didn't download the driver)

Are you using Selenium Grid?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions