Wheel permissions issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2025 02:00 PM
I get a : org.apache.spark.SparkSecurityException: [INSUFFICIENT_PERMISSIONS] Insufficient privileges: User does not have permission MODIFY,SELECT on any file. SQLSTATE: 42501 at com.databricks.sql.acl.Unauthorized.throwInsufficientPermissionsError(PermissionChecker.scala:360) error when trying to run my wheel. Funny thing is that the folder selected is my default folder as seen in workspace where I do have read/write/execute permissions by default. Not sure what's going on. This is my code :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2025 02:21 PM
Hi @adrianhernandez ,
The permissions error indicates you need to have the privileges for "any file".
To resolve this, Can you try by adding the corresponding permissions and see if it works:
%sql GRANT SELECT ON ANY FILE TO `username`
%sql GRANT MODIFY ON ANY FILE TO `username`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 06:23 AM
Hello,
What I don't understand is I am referencing objects (notebooks) I created in my own workspace so I have Read/Write permissions to them.