View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001019 | Far Manager | Copy/Move | public | 2009-08-26 13:05 | 2009-08-26 19:52 |
Reporter | Dark_Diver | Assigned To | DrKnS | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 2.0 | ||||
Summary | 0001019: Устанавливается атрибут "Encrypted" при копировании (перемещении) папок. | ||||
Description | При копировании/перемещении папок на файловую систему с поддержкой шифрования Far 2.0.1090 устанавливает атрибут "Encrypted" для всех папок. | ||||
Additional Information | --- fardev\unicode_far\copy.cpp 2009-08-26 04:42:47.997942400 +0300 +++ fardev\unicode_far\copy.cpp 2009-08-26 13:55:12.891883700 +0300 @@ -4321,7 +4321,7 @@ } // При копировании/переносе выставляем FILE_ATTRIBUTE_ENCRYPTED // для каталога, если он есть - if(GetInfoSuccess && (FileSystemFlagsDst&FILE_SUPPORTS_ENCRYPTION)&&(Attr&(FILE_ATTRIBUTE_ENCRYPTED|FILE_ATTRIBUTE_DIRECTORY))) + if((Attr&FILE_ATTRIBUTE_DIRECTORY) && (Attr&FILE_ATTRIBUTE_ENCRYPTED) && GetInfoSuccess && (FileSystemFlagsDst&FILE_SUPPORTS_ENCRYPTION)) { int Ret=ESetFileEncryption(Dest,1,0,SkipMode); if(Ret==SETATTR_RET_ERROR) | ||||
Tags | No tags attached. | ||||
Build | 1091 | ||||
|
copy.cpp.diff (625 bytes)
--- fardev\unicode_far\copy.cpp 2009-08-26 04:42:47.997942400 +0300 +++ fardev\unicode_far\copy.cpp 2009-08-26 13:55:12.891883700 +0300 @@ -4321,7 +4321,7 @@ } // ��� �����������/�������� �������� FILE_ATTRIBUTE_ENCRYPTED // �� ��������, ���� �� ��� - if(GetInfoSuccess && (FileSystemFlagsDst&FILE_SUPPORTS_ENCRYPTION)&&(Attr&(FILE_ATTRIBUTE_ENCRYPTED|FILE_ATTRIBUTE_DIRECTORY))) + if((Attr&FILE_ATTRIBUTE_DIRECTORY) && (Attr&FILE_ATTRIBUTE_ENCRYPTED) && GetInfoSuccess && (FileSystemFlagsDst&FILE_SUPPORTS_ENCRYPTION)) { int Ret=ESetFileEncryption(Dest,1,0,SkipMode); if(Ret==SETATTR_RET_ERROR) |
|
1091. |
|
fixed, можно закрывать. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-08-26 13:05 | Dark_Diver | New Issue | |
2009-08-26 13:08 | Dark_Diver | File Added: copy.cpp.diff | |
2009-08-26 16:39 | DrKnS | Status | new => assigned |
2009-08-26 16:39 | DrKnS | Assigned To | => DrKnS |
2009-08-26 18:04 | DrKnS | Note Added: 0003951 | |
2009-08-26 18:04 | DrKnS | Status | assigned => feedback |
2009-08-26 19:49 | Dark_Diver | Note Added: 0003953 | |
2009-08-26 19:52 | DrKnS | Build | => 1091 |
2009-08-26 19:52 | DrKnS | Status | feedback => closed |
2009-08-26 19:52 | DrKnS | Resolution | open => fixed |
2009-08-26 19:52 | DrKnS | Fixed in Version | => 2.0 |