[issue4210] os.remove can be used to remove directories on SunOS

2008-10-26 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: I didn't know about such unlink behavior and yes, I was root. Thanks for the precious infos. ___ Python tracker <[EMAIL PROTECTED]>

[issue4210] os.remove can be used to remove directories on SunOS

2008-10-26 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I cannot reproduce the behavior that your trace suggests; instead, I get >>> os.remove("foo") Traceback (most recent call last): File "", line 1, in ? OSError: [Errno 1] Not owner: 'foo' Perhaps you were trying to do this as root? This i

[issue4210] os.remove can be used to remove directories on SunOS

2008-10-26 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: Done against a SunOS 5.10 equipped with Python 2.4.4. >>> import os >>> os.mkdir('foo') >>> os.remove('foo') >>> -- messages: 75238 nosy: giampaolo.rodola severity: normal status: open title: os.remove can be used to remove dire