From owner-freebsd-stable Wed Sep 11 4: 5:59 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 7678C37B400 for ; Wed, 11 Sep 2002 04:05:56 -0700 (PDT) Received: from bingo.chel.ru (bingo.modem.ru [217.107.26.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2329B43E4A for ; Wed, 11 Sep 2002 04:05:55 -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 1BAD1D936; Wed, 11 Sep 2002 17:05:57 +0600 (YEKST) Received: from 192.168.2.1 (chief [192.168.2.1]) by bingo.chel.ru (Postfix) with ESMTP id 79041D935; Wed, 11 Sep 2002 17:05:56 +0600 (YEKST) Date: Wed, 11 Sep 2002 17:05:54 +0600 From: Dmitry Suhodoev X-Mailer: The Bat! (v1.60c) Organization: Bingo Game Centre X-Priority: 3 (Normal) Message-ID: <17737899106.20020911170554@bingo.chel.ru> To: Ruben de Groot Cc: stable@FreeBSD.ORG Subject: Re[2]: error deleting r/o (by windows) files on smbfs In-Reply-To: <20020911102935.GA57521@ei.bzerk.org> References: <20020911092604.CEDA8D935@bingo.chel.ru> <20020911102935.GA57521@ei.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi, Ruben. >> 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. RdG> This is not a bug. Unix and Windows filesystems' attributes are not the RdG> same, and you can't expect Unix filesystem tools like chmod to work on RdG> Windows attributes, just like you can't work with NTFS ACLs. RdG> Why don't you just remove the read-only attribute from the Windows side? this is a rsync (/usr/ports/net/rsync) side, and it must be syncronised remotely and regulary. i can't removing read-only attributes on all files regulary, cause i'm unix admin, but not the operator :-) the question still open: how delete the r/o files from windows share (with full access grants) on smbfs? -- Dmitry Suhodoev, http://bingo.chel.ru/, icq#550315 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message