Re: regression with prefixpath mounts

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

 



2011/8/4 Pavel Shilovsky <piastryyy@xxxxxxxxx>:
> 2011/8/4 Jeff Layton <jlayton@xxxxxxxxxx>:
>> Hi Pavel,
>>
>> We have a bit of a problem...
>>
>>    https://bugzilla.redhat.com/show_bug.cgi?id=727834
>>
>> The shared superblock patches seem to have broken the ability to mount
>> directories that live under other directories to which the mounting
>> user doesn't have permissions.
>>
>> IOW, suppose we have this shared out:
>>
>>    /share/dir1/dir2
>>
>> ...if the permissions on dir1 don't allow the mounting user to access
>> it, then cifs_get_root will fail. We'll need to come up with a new
>> scheme for handling this that doesn't require access to every component
>> of the prefixpath.
>>
>> I'm not sure what the right fix is here...we may need to come up with a
>> scheme more like NFS does. It will alter the tree when it discovers
>> that a root dir that it previously was working on is actually a subdir
>> of another mount.
>>
>> Thoughts?
>> --
>> Jeff Layton <jlayton@xxxxxxxxxx>
>>
>
> Thanks for the report. I understand the problem, let me think how to
> fix it right.
>
> --
> Best regards,
> Pavel Shilovsky.
>

According to https://bugzilla.redhat.com/show_bug.cgi?id=727834, it
seems to me that the problem is fixed. If the situation changes, let
me know, please.

-- 
Best regards,
Pavel Shilovsky.
--
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