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 #1

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.

Actions #2

Updated by Sage Weil over 12 years ago

  • Status changed from New to 4
Actions #3

Updated by Sage Weil over 12 years ago

  • Target version changed from v0.35 to v0.36
Actions #4

Updated by Sage Weil over 12 years ago

  • Target version changed from v0.36 to v0.37
Actions #5

Updated by Sage Weil over 12 years ago

  • Status changed from 4 to Can't reproduce
Actions #6

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

Actions

Also available in: Atom PDF