Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 99 20:19:57 +0000 (GMT)
From:      dwmalone@maths.tcd.ie
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/9517: -CURRENT revoke(2) man page says you can only revoke devices.
Message-ID:  <9901152019.aa15467@walton.maths.tcd.ie>

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

>Number:         9517
>Category:       docs
>Synopsis:       -CURRENT revoke(2) man page says you can only revoke devices.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 15 12:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     David Malone
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
School of Mathematics, Trinity College, Dublin.
>Environment:

	3.0-CURRENT as of just before Christmas.

>Description:

man revoke says:

     Access to a file may be revoked only by its owner or the super user.  The
     revoke() function is currently supported only for block and character
     special device files.  It is normally used to prepare a terminal device
     for a new login session, preventing any access by a previous user of the
     terminal.

However, someone implimented VOP_REVOKE a while ago (looking at
sys/kern/vnode_if.src 1.14 "VFS Mega Commit" mentions this), and
it now seems to work fine on executables, directories, NFS files
and the like.

>How-To-Repeat:



>Fix:
	
It could probably not mention this restriction any more.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



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