Don't start syncdaemon on windows vista or later if running with escalated privileges

Bug #904300 reported by Roberto Alsina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-3-0
Fix Released
High
Roberto Alsina
Trunk
Fix Released
High
Roberto Alsina

Bug Description

If the user starts syncdaemon with escalated privileges, the Ubuntu One and partial folders will have broken permissions.

There is no reason to actually do that, and on Linux we prevent running as root. Therefore, we should make that check crossplatform.

Tags: u1-windows

Related branches

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

In ubuntuone/platform/windows/os_helper.py, we have this code that should be completed:

def is_root():
    """Return if the user is running as root."""
    # TODO: Do check if we are running as admin
    return False

tags: added: u1-windows
removed: windows
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Changed in ubuntuone-client:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.