Re: [PATCH] fuse: allow umask processing in userspace

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <utcke+fuse@...>, <fuse-devel@...>, <linux-fsdevel@...>, Szabolcs Szakacsits <szaka@...>
Date: Friday, July 3, 2009 - 3:50 am

Hi Miklos,

Good news : use of default ACL is now ok,
Bad news : several tests on mkdir/mknod fail.

This is because umask is not applied anymore, in
any situation, and it was somewhat expected as I
defined current_umask() as zero.

BUT :

I only built a new fuse.ko for kernel 2.6.29.5-191
based on the fuse source released with this kernel
and the below patches applied (manually). No change
whatever elsewhere (I did not recompile the kernel),
and there is nothing in this patch which removes the
old code which was applying the umask (there is only
new code which applies the umask on condition).

Also I did not update the server part (the file system),
which should be ok as the old fields remain at the same
location (and the new behaviour cannot be requested).

So why does this patch prevent the umask being
applied to the "mode" argument ? I mean : how does
it avoid the old code which was applying the umask ?

Is there a hidden hack somewhere ?

Regards

Jean-Pierre





Miklos Szeredi wrote:

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fuse: allow umask processing in userspace, Miklos Szeredi, (Tue Jun 23, 6:14 am)
Re: [PATCH] fuse: allow umask processing in userspace, Jean-Pierre André, (Sat Jul 4, 10:51 am)
Re: [PATCH] fuse: allow umask processing in userspace, Miklos Szeredi, (Mon Jul 6, 7:52 am)
Re: [PATCH] fuse: allow umask processing in userspace, Jean-Pierre André, (Mon Jul 6, 2:52 pm)
Re: [PATCH] fuse: allow umask processing in userspace, Jean-Pierre André, (Fri Jul 3, 3:50 am)
Re: [PATCH] fuse: allow umask processing in userspace, Jean-Pierre André, (Thu Jul 2, 9:20 am)
Re: [PATCH] fuse: allow umask processing in userspace, Miklos Szeredi, (Fri Jul 3, 5:23 am)
[PATCH] libfuse: allow umask processing in userspace, Miklos Szeredi, (Tue Jun 23, 6:23 am)