mirror of
https://github.com/vgough/encfs.git
synced 2025-02-16 09:49:46 +01:00
Merge pull request #172 from jetwhiz/fork-encfsctl-patch
Fix incorrect masking in encfsctl export's copyContents
This commit is contained in:
commit
426d9dae76
@ -453,7 +453,7 @@ static int copyContents(const std::shared_ptr<EncFS_Root> &rootInfo,
|
||||
|
||||
if (node->getAttr(&st) != 0) return EXIT_FAILURE;
|
||||
|
||||
if ((st.st_mode & S_IFLNK) == S_IFLNK) {
|
||||
if ((st.st_mode & S_IFMT) == S_IFLNK) {
|
||||
string d = rootInfo->root->cipherPath(encfsName);
|
||||
char linkContents[PATH_MAX + 2];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user