How to delete a file without owner and group?
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Tue Mar 2 04:15:00 GMT 2010
On 3/1/2010 10:48 PM, Peng Yu wrote:
> I have a file that doesn't have owner and group and hence I can not
> delete it. Could somebody let me know how to delete it?
>
> office@office-PC /tmp
> $ ll
> total 0
> -rw-r--r-- 1 ???????? ???????? 0 2009-11-28 10:12 foo.sh
>
> office@office-PC /tmp
> $ chown office foo.sh
> chown: changing ownership of `foo.sh': Permission denied
>
> office@office-PC /tmp
> $ rm foo.sh
> rm: remove write-protected regular empty file `foo.sh'? y
> rm: cannot remove `foo.sh': Permission denied
Does <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids>
answer your question?
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list