Re: [PATCH] nfsd4: permit read opens of executable-only files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<snip>
> > 
> > 
> > Bruce,
> > 
> > I've tested this patch against linux-3.0 and it doesn't allow me to execute 
> > binaries with permissions of 111.
> 
> Hm, I see the same permissions error.  However, looking at the
> client-server traffic with wireshark, I see no permissions failures from
> the server: the read-open of cat succeeds.  (Could you check if the same
> is true in your case?)
> 
> So my first inclination is to blame the client.... Does this work with
> an older client?
> 
> --b.

Bruce,

Using the above test setup, and trying various clients I see a mismatch:

Using a newer nfs clients (nfs-common 1:1.2.2-4/1:1.2.4-1), I can read a file 
with 111 permissions, but cannot execute it.
With an older nfs client (nfs-common 1:1.2.0-4 / ubuntu lucid), I can read and 
execute a file with 111 permissions.

--chris j arges

<snip>




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux