Move files from DBFS to Workspace Folders databricks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 10:14 PM
I want to move a zip file from DBFS to a workspace folder.
I am using dbutils.fs.cp("dbfs file path", "workspace folder path"), in databricks notebook and I am seeing the following error -
ExecutionError: An error occurred while calling o455.cp. : java.nio.file.AccessDeniedException initiate MultiPartUpload on REGION-prod/238....
What access do I require and how can I get them?
- Labels:
-
Delta Lake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 11:12 AM
@Abdurrahman The error message looks like a permission denied issue. Please ensure that you have the necessary permissions to read from the DBFS path and write to the workspace folder. You might need the following permissions:
- Read access to the DBFS file path.
- Write access to the target workspace folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 04:03 AM
Kindly check your bucket policy. The error is for MultiPartUpload, you may want to check if the commit service is being blocked.
Also read details here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 08:09 AM
Permission denied appears to be the cause of the error message. To read from the DBFS path and write to the workspace folder, please make sure you have the required permissions. The following permissions may be required:
The DBFS file path can be read.
The target workspace folder can be written to.

