![]() |
|
|
|
|
|||||||
| 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 |
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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> |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You need write permission on the directory that contains the file.
ls -ld . to see directory permissions. |
|
#3
|
|||
|
|||
|
That was it, Thanks Perderabo!
|
|||
| Google The UNIX and Linux Forums |