Re: Suggested new user link command

From: Richard Weinberger
Date: Tue May 01 2018 - 07:04:46 EST


On Tue, May 1, 2018 at 12:58 PM, Tony Wallace <tony@xxxxxxxxxxx> wrote:
> Good point. But there are gid and uid fields in inode disc record.
>
> https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Table
>
> I assume these can be use to ensure that the directory in which it is to
> be placed has permissions to accept the inode. If that is not the case
> then it would have to be a root only syscall.

Before we dig into details, please come up with a very good use case. :-)
But I'm with Bernd, I don't think it is worth the permissions hassle.

--
Thanks,
//richard