Changeset e2b3077


Ignore:
Timestamp:
Jan 27, 2014 1:05:38 PM (6 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
9725c385
Parents:
89a6c25
Message:

Make sure that the ~/.xprofile is exe for Owner/Group/Other? before starting the session.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-xprocess.cpp

    r89a6c25 re2b3077  
    146146    cmd.prepend(". "+xhome+"/.xprofile; "); 
    147147    //Make sure it has executable permissions 
    148     QFile::setPermissions(xhome+"/.xprofile", QFile::permissions(xhome+"/.xprofile") | QFile::ExeOwner); 
     148    QFile::setPermissions(xhome+"/.xprofile", QFile::permissions(xhome+"/.xprofile") | QFile::ExeOwner | QFile::ExeGroup | QFile::ExeOther); 
    149149  } 
    150150  connect( this, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(slotCleanup()) ); 
Note: See TracChangeset for help on using the changeset viewer.