From owner-freebsd-bugs Wed Sep 11 2:30: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3542B37B400 for ; Wed, 11 Sep 2002 02:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A3143E4A for ; Wed, 11 Sep 2002 02:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8B9U2JU073596 for ; Wed, 11 Sep 2002 02:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8B9U2QY073595; Wed, 11 Sep 2002 02:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EB6037B400; Wed, 11 Sep 2002 02:26:05 -0700 (PDT) Received: from bingo.chel.ru (bingo.modem.ru [217.107.26.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B6343E3B; Wed, 11 Sep 2002 02:26:04 -0700 (PDT) (envelope-from raven@bingo.chel.ru) Received: from bingo.chel.ru (localhost.bingo.modem.ru [127.0.0.1]) by localhost (Postfix) with SMTP id E5279D936; Wed, 11 Sep 2002 15:26:05 +0600 (YEKST) Received: by bingo.chel.ru (Postfix, from userid 1666) id CEDA8D935; Wed, 11 Sep 2002 15:26:04 +0600 (YEKST) Message-Id: <20020911092604.CEDA8D935@bingo.chel.ru> Date: Wed, 11 Sep 2002 15:26:04 +0600 (YEKST) From: Dmitry Suhodoev Reply-To: Dmitry Suhodoev To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd-stable@FreeBSD.org, stable@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/42652: error deleting r/o (by windows) files on smbfs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42652 >Category: kern >Synopsis: error deleting r/o (by windows) files on smbfs >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 02:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dmitry Suhodoev >Release: FreeBSD 4.6-STABLE i386 >Organization: Bingo GC, http://bingo.chel.ru >Environment: System: FreeBSD bingo.chel.ru 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Sep 2 15:44:16 YEKST 2002 root@bingo.chel.ru:/usr/obj/usr/src/sys/bingo i386 >Description: have admin windows share: //machine/admin$, i.e. full access. my os computer is FreeBSD 4.6-STABLE from 28 aug 2002. on this windows share (mounted to /mount/smb/machine/admin) i cannot remove files (even rm -f: access denied) which having dos/windows attributes "read-only", though this files have 755 unix attributes. i has try chown 777 (by root). chown doesn't report error, but attributes do not be installed. please, help me, i has use rsync on the smbfs, and rsync can't remove some files on smbfs and this is not right! >How-To-Repeat: mount any windows share with full access rights and try delete from these mount point any file, which have r/o attribute in windows. >Fix: first r/o attributes must be removed from file, then windows smb server allow delete the this file. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message