The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 02:29 PM
Why can't I delete this file? tphyahoo UNIX for Dummies Questions & Answers 3 07-17-2006 04:35 PM
how to delete record in file data with index in another file? zhynxn Shell Programming and Scripting 0 07-06-2006 12:03 AM
i want to delete a file based on existing file in a directory srivsn Shell Programming and Scripting 3 04-11-2006 04:38 AM
Get file from source server and delete the ftp file lweegp Shell Programming and Scripting 3 10-17-2005 02:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-14-2008
dr46014 dr46014 is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 94
not able to delete a file

in one of the mount points i was trying to delete a file created by some other user.even if all the permissions are there still i am not able to delete a file.i tried using both rm and rm -f.I need to delete a file every day after archiving it.is there any previlege related to mount point or something else.i need to know the reaon why it is happening and any other command to delete those files.
  #2 (permalink)  
Old 05-14-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
In theory, the mount point permission do not matter. In several cases it _does_ in fact matter but I suspect that isn't what's causing your issue here (but just in case, my 'works for eveything' mount point permissions are 0555).

The filesystem mounted on top of this mount point has it's own permissions though which are probably where your problem is.

If the directory your file is sitting in does not grant you write permissions, you'll not be able to delete files from it (even if you own them) or create new ones. Write perms on a file only allows you to modify the contents of the file.

This applies to any dir, regardless of where it sits with respect to it's host volume.

Sing out if I've missed you point of course
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0