cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Databricks Free Trial Help
Engage in discussions about the Databricks Free Trial within the Databricks Community. Share insights, tips, and best practices for getting started, troubleshooting issues, and maximizing the value of your trial experience to explore Databricks' capabilities effectively.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Public dbfs root is disabled ,Access is denied on path

ViratKumar1061
New Contributor III

Hi Team,
I am using Databricks free edition to run some  jobs on environment but I am getting error like : Public DBFS root is disabled. Access is denied on path: /FileStore/tables/
So how can i get access for this location, could anyone help me here. 

16 REPLIES 16

Deuce
New Contributor II

First create a table from the file and then read the table via workspace. This has worked for me.

Under Catalog, click the "+" button and then "Add Data" > "Create or modify data" > give the name of the table and upload the file.

Once done, use below command to access the table (orders_230714_200740):: 

order_df = spark.read \
.format("csv") \

.option("header","true") \
.table("workspace.default.orders_230714_200740")

Deuce_0-1753515219121.png

 

Sravanguthikond
New Contributor II

 

DBFS is disabled in your Databricks workspace, that usually means youโ€™re in a Unity Catalogโ€“enabled environment. In UC-enabled workspaces, direct access to dbfs:/ is restricted.

Instead you must use external locations or volumes registered in Unity Catalog.

Sravanguthikond_0-1755528414478.png