kern/73146: cannot chmod mount point for read-only filesystem

Nehal nehalmistry at gmx.net
Mon Oct 25 21:20:31 PDT 2004


>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 at 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:


More information about the freebsd-bugs mailing list