From owner-freebsd-stable Wed Sep 11 2:26:11 2002 Delivered-To: freebsd-stable@freebsd.org 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) To: FreeBSD-gnats-submit@freebsd.org Subject: error deleting r/o (by windows) files on smbfs From: Dmitry Suhodoev Reply-To: Dmitry Suhodoev Cc: freebsd-stable@FreeBSD.ORG, stable@FreeBSD.ORG X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20020911092604.CEDA8D935@bingo.chel.ru> Date: Wed, 11 Sep 2002 15:26:04 +0600 (YEKST) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Submitter-Id: current-users >Originator: Dmitry Suhodoev >Organization: Bingo GC, http://bingo.chel.ru >Confidential: no >Synopsis: error deleting r/o (by windows) files on smbfs >Severity: serious >Priority: high >Category: kern >Class: sw-bug >Release: FreeBSD 4.6-STABLE i386 >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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message