Opened 14 years ago

Closed 11 years ago

#1623 closed defect (fixed)

Sugar should refuse to run as root user

Reported by: mchua Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description

Running Sugar as the root user can disable access to Sugar for all non-root users. This appears to be the result of files crucial to running Sugar being created/modified with permissions inaccessible to non-root users. See https://bugzilla.redhat.com/show_bug.cgi?id=547805#c3 for reference.

Sugar should check to see if the user is root before starting; if the user is root, Sugar should refuse to run, and instead print an explanatory error message as to why this is the case and how the user can run sugar as a non-root user.

Change History (1)

comment:1 Changed 11 years ago by dnarvaez

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.