From Nehal@shaw.ca  Tue Oct 26 04:15:52 2004
Return-Path: <Nehal@shaw.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CCA3116A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 Oct 2004 04:15:51 +0000 (GMT)
Received: from shaw.ca (S0106000ae6ceb225.vf.shawcable.net [70.68.12.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 958F243D41
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 Oct 2004 04:15:51 +0000 (GMT)
	(envelope-from Nehal@shaw.ca)
Received: from Nehal.Home (somebody@localhost.Home [127.0.0.1])
	by Nehal.Home (8.13.1/8.13.1) with ESMTP id i9Q2w39S001021
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Oct 2004 19:58:04 -0700 (PDT)
	(envelope-from Nehal@Nehal.Home)
Received: (from Nehal@localhost)
	by Nehal.Home (8.13.1/8.13.1/Submit) id i9Q2w3Bv001020;
	Mon, 25 Oct 2004 19:58:03 -0700 (PDT)
	(envelope-from Nehal)
Message-Id: <200410260258.i9Q2w3Bv001020@Nehal.Home>
Date: Mon, 25 Oct 2004 19:58:03 -0700 (PDT)
From: Nehal <nehalmistry@gmx.net>
Reply-To: Nehal <nehalmistry@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cannot chmod mount point for read-only filesystem
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         73147
>Category:       kern
>Synopsis:       cannot chmod mount point for read-only filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 26 04:20:31 GMT 2004
>Closed-Date:    Tue Oct 26 07:58:04 GMT 2004
>Last-Modified:  Tue Oct 26 07:58:04 GMT 2004
>Originator:     Nehal Mistry
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD Nehal 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Tue Oct 12 23:00:48 PDT 2004 Nehal@Nehal:/usr/src/sys/i386/compile/NEHAL i386


	
>Description:
if you mount a read-only filesystem on a mount point, you cannot
chmod it, you will get an error. for example:

# chmod g-r /DATA
chmod: /DATA: Read-only file system
#

the chmod should only be denied for files/subdirectories
inside the mount point, not the mount point itself.
	
>How-To-Repeat:
- mount a filesystem as read-only
- chmod the mount point
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Tue Oct 26 07:57:43 GMT 2004 
State-Changed-Why:  
Duplicate of kern/73146. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73147 
>Unformatted:
