Results 1 to 7 of 7

Thread: [S]Privileges/Permissions problems after running Qt Creator with priviliges on Linux

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default [S]Privileges/Permissions problems after running Qt Creator with priviliges on Linux

    Hello,
    I've runned Qt Creator with root rights and now it gives me Permissions errors on 2 files when I run Qt without priviliges.
    On run:
    1: "Cannot overwrite file [my home dir]/.config/Nokia/qtversion.xml: Permission denied" - 4 times appeared this error

    On exit:
    1: "Cannot overwrite file [my home dir]/.config/Nokia/toolChains.xml: Permission denied"

    Ok, solved the problem myself
    went into the folder:
    "cd ~/.config/Nokia"
    then changed the mode for this 2 files:
    1. "sudo -s"
    2. "chmod g+w qtversion.xml"
    (I tried chmod +w for both files and didn't worked, sometimes u have to indicate if it's user, group or other)
    3. "chmod o+w qtversion.xml"
    u can try "chmod go+w qtversion.xml" so u don't have to write 2 times - I didn't tried
    4. "chmod o+w toolChains.xml"
    5. "chmod +r qtversion.xml" (same here, u may try "chmod go+rw qtversion.xml" - I didn't tried)
    6. "exit"

    That's it.

    Edit:
    1 more:
    "Cannot overwrite file [my home dir]/.config/Nokia/qtcreator/default.qws: Permission denied"

    The solution:
    "sudo -s chmod o+w ~/.config/Nokia/qtcreator/default.qws"
    Last edited by Alliancemd; 27th October 2011 at 18:58.

Similar Threads

  1. Running app from within Creator
    By rbp in forum Qt Tools
    Replies: 2
    Last Post: 2nd October 2009, 01:51
  2. Running Qt Creator examples
    By Saman in forum Newbie
    Replies: 5
    Last Post: 5th May 2009, 21:21
  3. Running an application with root privileges at Linux
    By prykHetQuo in forum Qt Programming
    Replies: 5
    Last Post: 25th January 2009, 13:35
  4. Installing and running Qt4 without root privileges
    By sunil.thaha in forum Installation and Deployment
    Replies: 1
    Last Post: 10th October 2007, 15:04
  5. root-priviliges in application
    By bkv in forum KDE Forum
    Replies: 2
    Last Post: 29th October 2006, 19:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.