On Mon, May 13, 2002 at 10:54:54PM -0700, Thomas Bushnell, BSG wrote:
> Marcus Brinkmann <[EMAIL PROTECTED]> writes:
> 
> > There is another problem with fakeroot, and that is chmod.  It doesn't work
> > at all :)  I always get EOPNOTSUPP.  Your comment:
> > 
> >    Unlike the normal Unix
> >    and Hurd meaning of chmod, this function is also used to attempt to
> >    change files into other types.  If such a transition is attempted which
> >    is impossible, then return EOPNOTSUPP.  */
> 
> Um, I don't think this is supposed to happen!
> 
> file_chmod is *not* supposed to affect the IFMT bits; where is this
> comment found?

Well, we are not really talking about file_chmod, but about
netfs_attempt_chmod.  However, I have not found it to be used by anything
but netfs_S_file_chmod.

The original comment is in libnetfs/netfs.h

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to