My Oracle Support Banner

Unable to remove files from DBFS rm command does not work (Doc ID 2228209.1)

Last updated on AUGUST 04, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Deleting files from DBFS Files with "rm" command doesn't work, other commands such as "cp" "ls" were working

oracle@oracle:/opt/oracle/dbfs/FS> ls -l lala100.txt
-rw-r--r-- 1 oracle oinstall 0 Sep 20 12:37 lala100.txt

oracle@oracle:/opt/oracle/dbfs/FS> rm lala100.txt
rm: cannot remove 'lala100.txt': Invalid argument

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.