[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] [PATCH] Make file struct available to fchmod FS handlers.
From:       Stef Bon <stefbon () gmail ! com>
Date:       2016-11-17 23:03:23
Message-ID: CANXojcwOhfSkR+Spp=kdp96awKT7_sNdvCcB-Qsa0oWRnCauMA () mail ! gmail ! com
[Download RAW message or body]

2016-11-17 20:20 GMT+01:00 Eric W. Biederman <ebiederm@xmission.com>:
> Nikolaus Rath <Nikolaus@rath.org> writes:
>

>
> ftruncate requires the file to be opened for writing.
>
>
> fchmod does not require the file to be opened for writing.
>

Makes sense of course. ftruncate is acting on the file, fchmod does
work on the attributes (inode information).

Stef

------------------------------------------------------------------------------
-- 
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic