Project

General

Profile

Bug #7372

copy file from shared folder enforce permissions even on not copied files

Added by Vincent MEMBRÉ almost 3 years ago. Updated about 2 months ago.

Status:
New
Priority:
1
Assignee:
-
Category:
Techniques
Target version:
Target version (plugin):
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Pull Request:
Priority:
58

Description

Permissions are enforced on the whole target directory recursively

So let say you want to copy content /var/app from shared-files:

Here is the base directory:

/var/app
-> File1 (perms 752 + suid)

And our shared-file:

app
-> File2 (perms 600, no suid) 

After 'copy from shared folder' is applied (with perms ( 600 no suid) )

We got that result:

/var/app
-> File1 (perms 600, no suid)
-> File2 (perms 600, no suid)

History

#1 Updated by Vincent MEMBRÉ almost 3 years ago

  • Assignee set to Nicolas CHARLES

Some way to fix it:

  • use transformer ?
  • Copy in a tmp file then apply perms, then copy in right directory ?

Nicolas, Benoit, Matthieu, do you have more ideas ?

#2 Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 2.10.20 to 277

#3 Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 277 to 2.11.18

#4 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.18 to 2.11.19

#5 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.19 to 2.11.20

#6 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.20 to 2.11.21

#7 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.21 to 2.11.22

#8 Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 2.11.22 to 2.11.23

#9 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 2.11.23 to 2.11.24

#10 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 2.11.24 to 308

#11 Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 308 to 3.1.14

#12 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.14 to 3.1.15

#13 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.15 to 3.1.16

#14 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.16 to 3.1.17

#15 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 3.1.17 to 3.1.18

#16 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.18 to 3.1.19

#17 Updated by Jonathan CLARKE over 1 year ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | level 1 Techniques

#18 Updated by Benoît PECCATTE over 1 year ago

  • Priority set to 45

#19 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.19 to 3.1.20

#20 Updated by Jonathan CLARKE over 1 year ago

  • Assignee deleted (Nicolas CHARLES)

#21 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.20 to 3.1.21

#22 Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 3.1.21 to 3.1.22

#23 Updated by Benoît PECCATTE about 1 year ago

  • Priority changed from 45 to 58

#24 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 3.1.22 to 3.1.23

#25 Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 3.1.23 to 3.1.24

#26 Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 3.1.24 to 3.1.25

#27 Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 3.1.25 to 387

#28 Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 387 to 4.1.10

#29 Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 4.1.10 to 4.1.11

#30 Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 4.1.11 to 4.1.12

#31 Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 4.1.12 to 4.1.13

#32 Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 4.1.13 to 4.1.14

#33 Updated by Benoît PECCATTE about 2 months ago

  • Target version changed from 4.1.14 to 4.1.15

Also available in: Atom PDF