2011/9/1 Hans-Bernhard Bröker <HBBroeker@...>
> On 31.08.2011 11:54, rahul patil wrote:
>
>> 2011/8/31 Hans-Bernhard Bröker<HBBroeker@...>
>>
>>> On 30.08.2011 15:58, rahul patil wrote:
>>>
>>
> I have read and write permission for all the files in the mount. I have
>> mounted share using mount.cifs.
>>
>
> Could there be some ACLs or Windows-side permission issues you're misssing?
>
>
> I used following command to add files explicitly
>> $cscope -Rb `find -name \*.c`
>> but it is giving error that "cscope: cannot find file
>> unittests/internal/sgx_**subtwiddling_test/sgx_**subtwiddling_test.c"
>> (similar error for all the files in the source code).
>>
>
> Which directory along that path is the mount point of your Windows network
> share?
>
> Do _all_ files fail like that, or only some of them?
>
> Could you try to check the full file state for some of those files via the
> 'stat' command? cscope does insist on the input being regular files (no
> symlinks, no devices, ...).
>
I debuged the code and found that lstat(in the function scan_dir) is
returning error -27(which is Value too large for defined data type). then i
recompiled kernel with xattr and POSIX new config options enabled for CIFS,
which solved my problem.
Now cscope is able to search the files and working correctly
--
Regards,
Rahul Patil
|