![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to remove file using rm: Disk space is full | Pankajakshan | Linux | 8 | 4 Weeks Ago 09:40 PM |
| Problem when test to see if directory exists | trivektor | Shell Programming and Scripting | 3 | 08-11-2008 10:48 PM |
| Unable to chmod a file/directory | lyonsd | SUN Solaris | 11 | 11-15-2007 10:46 PM |
| test if a filename exists with specified string (ksh) | bob122480 | Shell Programming and Scripting | 6 | 01-21-2007 11:47 AM |
| rm: Unable to remove directory xxxx/xxxx: File exists | deejay | UNIX for Dummies Questions & Answers | 1 | 11-06-2005 08:17 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
rm: Unable to remove directory /mnt/users/test/logs/: File exists
rm: Unable to remove directory /mnt/users/test/logs/: File exists
ls -latr total 191208 drwxrwxrwx 6 test echo 4096 Jul 3 22:36 .. -rwxrwxrwx 1 test echo 97692804 Jul 3 22:36 .nfsDFA4 drwxrwxr-x 2 test echo 4096 Jul 3 23:00 . M not able to delete ".nfsDFA4" file. Please suggest. Thanks, Solitare123 |
| Forum Sponsor | ||
|
|
|
|||
|
If its on a NFS mount point, you must delete it from the NFS server itself. Could be perssion issues. And you can't delete a directory staright away if it consists of files in it, unless you perform a rm -rf (use with care!)
|
|
|||
|
Had the same problem. Thanks zaxxon, Your Solution Worked For Me!
Had a directory called "play". Looked empty.
But had a .nfs<xxxx> file that would not go away. From the parent directory, I executed: fuser -u play/.* The result included: play/.: play/.nfsC54A: 5794o(esmith) I then executed: kill -9 5940 rmdir play Voila! |
|||
| Google The UNIX and Linux Forums |