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?
off...@office-pc /tmp
$ ll
total 0
-rw-r--r-- 1 ???????? ???????? 0 2009-11-28 10:12 foo.sh
off...@office-pc /tmp
$ chown office foo.sh
chown: changing ownership of `foo.sh': Permission denied
off...@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