Bug #1437
closedcfuse can't change permissions of a file
0%
Description
I've hit a case where I cannot change the permissions of a script to 755.
chmod 777 ./extract_full.sh
ls -la extract_full.sh
rw-r--r- 1 srv_grid_cme srv_grid_cme 1389 2011-08-23 13:07 extract_full.sh
I've attached gdb to the fuse client, and it looks like the problem is on the getattr. In Client::_getattr, in->caps_issued_mask(mask) is always returning true, so the request is never sent to the server. My guess is that the setattr (from chmod) is not invalidating the capabilities for this inode.
Updated by Sage Weil over 12 years ago
- Target version set to v0.35
Sam, is this something you can reproduce? All we should need is a client log.. something like '--log-file foo --log-to-stderr false --debug-client 20 --debug-ms 1' to cfuse.
Updated by Sage Weil over 12 years ago
- Target version changed from v0.35 to v0.36
Updated by Sage Weil over 12 years ago
- Target version changed from v0.36 to v0.37
Updated by John Spray over 7 years ago
- Project changed from Ceph to CephFS
- Category deleted (
11) - Target version deleted (
v0.37)
Bulk updating project=ceph category=ceph-fuse issues to move to fs project so that we can remove the ceph-fuse category from the ceph project