The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Delete the first 20k from 76k file dave043 Shell Programming and Scripting 11 02-14-2008 11:29 AM
Why can't I delete this file? tphyahoo UNIX for Dummies Questions & Answers 3 07-17-2006 01:35 PM
how to delete record in file data with index in another file? zhynxn Shell Programming and Scripting 0 07-05-2006 09:03 PM
i want to delete a file based on existing file in a directory srivsn Shell Programming and Scripting 3 04-11-2006 01:38 AM
Get file from source server and delete the ftp file lweegp Shell Programming and Scripting 3 10-16-2005 11:53 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2006
Registered User
 

Join Date: Jun 2006
Posts: 3
Red face why can't I delete this file?

Can anyone tell me why I can't delete this file? I am logged in as the owner of the file i.e. apfadmin. I suspect the "l" in the execute for the group but I don't know what that is or what it means. Thanks in advance for any help.


les021 AM/scenarios/JobDB2.bad> ls -al
-rw-r-lr-- 1 apfadmin apfadmin 524288000 Jun 5 17:08 Empty1
les021 AM/scenarios/JobDB2.bad> chmod 744 Empty1
les021 AM/scenarios/JobDB2.bad> ls -al
-rwxr--r-- 1 apfadmin apfadmin 524288000 Jun 5 17:08 Empty1*
les021 AM/scenarios/JobDB2.bad> rm Empty1
rm: Empty1 not removed: Permission denied
les021 AM/scenarios/JobDB2.bad>
Reply With Quote
Forum Sponsor
  #2  
Old 06-13-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
You need write permission on the directory that contains the file.
ls -ld .
to see directory permissions.
Reply With Quote
  #3  
Old 06-13-2006
Registered User
 

Join Date: Jun 2006
Posts: 3
Smile

That was it, Thanks Perderabo!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0