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: Saturday, July 4, 2009 - 10:51 am

Hi Miklos,

I went through the patches and the tests, and I can
announce that ntfs-3g is the first fuse-based file system
which passes the PJD Posix test fully, including the
Posix ACL parts.

Thank you for having made this possible.

I used kernel 2.6.29 with your proposed patches applied
to the fuse client (fuse.ko), and a simplified version of
the fuse server (fuse-lite), which I upgraded manually
according to your proposed patches.

There were only three modifications needed not mentioned
in your proposal, probably consequences of different
reference versions :
- new fields in attr_out and write_in
- umask not copied from low level context to high level.

I checked the client-server compatibility in the four
possible associations (new client / old server, etc.),
but of course both new client and new server are required
to get the correct permissions on file creation.

For releasing a file system source compatible with both
old and new fuse.h, I check whether FUSE_CAP_DONT_MASK
is defined. From now on, I can release code which will compile
and run with current fuse (server and file system ready)
and will benefit from permission fixes when kernels with
updated fuse client will be released.

There is just a point which worries me : I cannot understand
how your client patch deactivates the old code which was
applying the umask. I would prefer not to discover it the
hard way...

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)