Project

General

Profile

Actions

Bug #7372

open

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

Added by Vincent MEMBRÉ over 8 years ago. Updated 12 days ago.

Status:
New
Priority:
1
Assignee:
-
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Small
Priority:
0
Name check:
Fix check:
Regression:

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)
Actions

Also available in: Atom PDF