Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2004 21:08:00 -0700 (PDT)
From:      Nehal <nehalmistry@gmx.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/73146: cannot chmod mount point for read-only filesystem
Message-ID:  <200410260408.i9Q480tA001451@Nehal.Home>
Resent-Message-ID: <200410260420.i9Q4KVFI053539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73146
>Category:       kern
>Synopsis:       cannot chmod mount point for read-only filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 26 04:20:30 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410260408.i9Q480tA001451>