baidu / baidu/bfs

bfs_chmod()接口一直返回 -1,bad parameter.

Open
#934 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.8k
Forks
551
PR merge metrics
No merged PRs in 30d

Description

执行 src/sdk/python 里的 sample.py,当运行到 chmod 时就会报错,提示bad parameter。将同样的参数传给 C interface bfs_chmod() 同样返回-1。 Bug?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running src/sdk/python/sample.py and reproducing the failure at chmod. Trace the corresponding bfs_chmod() C interface with the same parameters and inspect where the bad parameter result is produced. Done means identifying and correcting the parameter-handling bug, with the sample and equivalent C call no longer returning -1.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.