Project

General

Profile

Actions

Bug #1437

closed

cfuse can't change permissions of a file

Added by Sam Lang over 12 years ago. Updated over 7 years ago.

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

Also available in: Atom PDF