Re: [PATCH] Making shares unaccessible at root level mountable (aka solving bsc#8950 ...again)

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

 



I will take a look later today.

On Fri, Jul 1, 2016 at 10:44 AM, Marcus Hoffmann
<marcus.hoffmann@xxxxxxxxxxxx> wrote:
> On 06/10/2016 05:16 PM, Aurélien Aptel wrote:
>> On Thu, 9 Jun 2016 21:27:34 +0200 Marcus Hoffmann
>> <marcus.hoffmann@xxxxxxxxxxxx> wrote:
>>> Hey Aurélien,
>>> with your script I can reproduce the bug locally now.
>>
>> Good.
>>
>>> I can mount the share (which is on a Windows 8.1 vm) with a Windows 7
>>> PC with the restricted user account. (Even in hard mode.)
>>> I can mount the share from Linux-cifs using the admin user but not the
>>> restricted user.
>>
>> I've moved some things around. All of the prefix path components are
>> now checked for accessibility in cifs_do_mount(). This is more
>> robust and it lets us set the CIFS_MOUNT_USE_PREFIX_PATH flag earlier.
>>
>> I've updated the cifs_root_iget() to use the prefix path when necessary
>> which should take care of the last case (hard mode).
>>
>> Please test my latest patch (attached).
>>
> I just wanted to ask what can be done to get this merged.
>
>>> (I noticed though that no user has access to the file in the shared
>>> dir. But this doesn't really matter for the test.)
>>
>> Indeed.
>>
>
> Marcus



-- 
Thanks,

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



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux