Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 10:28 PM
Hi,
I need to uncompress files in S3 so need to copy files to local file system.
When i use dbutils.fs.cp(dbfs_file, local_file) with dbfs file as s3://path_to_file or dbfs://path_to_file and local_file as file:///tmp/path_to_file, I am getting error as below -
ERROR - java.lang.SecurityException: Cannot use com.databricks.backend.daemon.driver.WorkspaceLocalFileSystem - local filesystem access is forbidden
How to apply write permissions and resolve this issue.