Actions
Bug #1437
closedcfuse can't change permissions of a file
Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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.
Actions