Skip to content

False success message in cp command #23

@mingyu-00

Description

@mingyu-00

When attempting to upload a file using the cp command with root privileges, the operation does not actually result in a successful upload. However, the system still returns a success message, which is misleading.

This issue could result in silent failures, especially in automated or CI environments where root-level access might be used. Users may assume the file has been properly uploaded when it hasn't.

We're planning to:

  • Add logic to explicitly check whether the process has root privileges before attempting upload.
  • Improve error detection and messaging for privileged operations.
  • Audit related commands for similar misleading success cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions