View Issue Details

IDProjectCategoryView StatusLast Update
0000629bareos-core[All Projects] file daemonpublic2017-12-18 12:05
ReporteramelentjevAssigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version7
Product Version15.2.2 
Target VersionFixed in Version16.2.7 
Summary0000629: windows: Attributes for directories not restored
DescriptionAttributes (hidden/system/compressed, etc) for directories are not restored for windows client.
Steps To ReproduceCreated two directories : one with system/hidden/not indexed, another with system/not indexed attributes.
After backup/restore procedure all attributes are gone.
TagsNo tags attached.
bareos-master: impactyes
bareos-master: actionwill care
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impactyes
bareos-17.2: actionfixed
bareos-16.2: impactyes
bareos-16.2: actionfixed
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Relationships

has duplicate 0000801 closed do not apply attributes to folders (hidden and compressed) after recovery 
child of 0000836 closedjoergs Release bareos-16.2.7 
child of 0000861 closedjoergs Release bareos-17.2.4 

Activities

pstorz

pstorz

2017-10-06 20:51

administrator   ~0002775

Fix committed to bareos bareos-17.2 branch with changesetid 7272.
stephand

stephand

2017-10-09 16:34

developer   ~0002784

Fix committed to bareos bareos-16.2 branch with changesetid 7280.

Related Changesets

bareos: bareos-17.2 219eb494

2017-09-22 14:48:36

pstorz

Ported: N/A

Details Diff
Windows: restore attributes on directories

For unknown reason, directories were skipped when applying
windows attributes. We now apply attributes also to directories.

We need the additional access right GENERIC_READ even when
only opening directories WRITE_ONLY, as otherwise access is
denied when applying the compressed attribute.

Fixes 0000629: windows: Attributes for directories not restored
Affected Issues
0000629
mod - src/findlib/bfile.c Diff File
mod - src/win32/compat/compat.c Diff File

bareos: bareos-16.2 7afb66df

2017-09-22 14:48:36

pstorz


Committer: stephand

Ported: N/A

Details Diff
Windows: restore attributes on directories

For unknown reason, directories were skipped when applying
windows attributes. We now apply attributes also to directories.

We need the additional access right GENERIC_READ even when
only opening directories WRITE_ONLY, as otherwise access is
denied when applying the compressed attribute.

Fixes 0000629: windows: Attributes for directories not restored
Affected Issues
0000629
mod - src/findlib/bfile.c Diff File
mod - src/win32/compat/compat.c Diff File

Issue History

Date Modified Username Field Change
2016-02-29 21:48 amelentjev New Issue
2017-09-23 21:49 pstorz Relationship added has duplicate 0000801
2017-10-06 20:51 pstorz Changeset attached => bareos bareos-17.2 219eb494
2017-10-06 20:51 pstorz Note Added: 0002775
2017-10-06 20:51 pstorz Status new => resolved
2017-10-06 20:51 pstorz Resolution open => fixed
2017-10-07 21:58 joergs bareos-master: impact => yes
2017-10-07 21:58 joergs bareos-master: action => will care
2017-10-07 21:58 joergs bareos-17.2: impact => yes
2017-10-07 21:58 joergs bareos-17.2: action => fixed
2017-10-07 21:58 joergs bareos-16.2: impact => yes
2017-10-07 21:58 joergs Fixed in Version => 17.2.4
2017-10-09 15:24 joergs Relationship added child of 0000836
2017-10-09 16:34 stephand Changeset attached => bareos bareos-16.2 7afb66df
2017-10-09 16:34 stephand Note Added: 0002784
2017-10-09 17:10 joergs bareos-16.2: action => fixed
2017-10-09 17:10 joergs Status resolved => closed
2017-10-09 17:10 joergs Fixed in Version 17.2.4 => 16.2.7
2017-12-18 12:05 joergs Relationship added child of 0000861