[linux-cifs-client] Re: [CIFS] patchset to fix ephemeral modes and implement "dynperm" mount option (respin #3)

Steve French smfrench at gmail.com
Thu May 22 22:10:32 GMT 2008


One question on patch 1 -
if the default file mode (or dir mode) on an inode which is newly
lookedup (not in use) is e.g. 0555 but the file does not have the
read-only dos attribute bit, looks like your code will report it as
0555 - should any of the write bits be set in the mode in this case?
Won't you get strange results if you chmod 0777 (which would work
right...) then umount then mount again then stat?

On Thu, May 22, 2008 at 8:45 AM, Jeff Layton <jlayton at redhat.com> wrote:
> Hi Steve,
>  Here's a respun version of the dynperm patches. The main change is in
> the first patch and that's just to accomodate the changes that the DFS
> patches made in cifs_get_inode_info().
>
> Signed-off-by: Jeff Layton <jlayton at redhat.com>
>



-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list