2016-11-17 20:20 GMT+01:00 Eric W. Biederman <ebiederm@xxxxxxxxxxxx>: > Nikolaus Rath <Nikolaus@xxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html