Project

General

Profile

Actions

Tasks #65615

closed

Tasks #63293: Implement fscrypt in libcephfs and cephfs-fuse

Tasks #64133: Make pjd work on fscrypt

lchown corrupts symlink entry

Added by Christopher Hoffman 27 days ago. Updated 25 days ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

lchown corrupts symlink entry:

# fstest create file1 0644
0
# fstest symlink file1 symlink1
0
# ls -l
total 1
-rw-r--r--. 1 root root  0 Apr 22 18:11 file1
lrwxrwxrwx. 1 root root 46 Apr 22 18:11 symlink1 -> file1
# fstest lchown symlink1 135 579
0
# ls -l
total 1
-rw-r--r--. 1 root root  0 Apr 22 18:11 file1
lrwxrwxrwx. 1  135  579 46 Apr 22 18:11 symlink1 -> ''$'\266\310''%'$'\005''W'$'\335''.'$'\355\211''kblD'$'\300''gq'$'\002\236\367''3'$'\255\201\001''Z6;'$'\221''&'$'\216\331\177''Q'
Actions

Also available in: Atom PDF