Results 1 to 4 of 4

Thread: Lazarus is working okay but has the wrong owner (root).

  1. #1

    Lazarus is working okay but has the wrong owner (root).

    Hi All,

    Good news!!! I have successfully installed Lazarus + Free Pascal on my Linux UBUNTU Christian Edition OS. It works fine for new projects, however I am unable to get the Examples to compile. The reason for this is that the owner of the Examples source code is listed as 'root', however I don't have a root user. On my OS there is only one user 'peter'.

    What is the terminal (Konsole) command for me to change the owner of the entire Lazarus directory and all sub-directories and files to 'peter' (in Linux UBUNTU CE) ?

    Yours Sincerely and With Best Wishes,
    pew { Peter_from_Hobart }
    signing off from beautiful Hobart, Tasmania, Australia
    (in Winter time here!).
    Love, Friendship and Best Wishes<br />Peter the Poet aka PEW

  2. #2

    Lazarus is working okay but has the wrong owner (root).

    Your best bet is to simply copy the examples into your home. Doing stuff as root, or having non-root stuff in global dirs isn't a good idea on linux.
    Feel the power of Open Source.
    <br />Feel the power of Free Pascal.

  3. #3

    Lazarus is working okay but has the wrong owner (root).

    As Almindor says, doing stuff as root is not considered go good security practise on Linux. You want to have a root account and also a user account that has less priveleges. Then you can have all your projects under your user account without fear or causing too much mayhem.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  4. #4

    What is the UBUNTU command I need to change examples owner.

    Savage Wrote:

    >As Almindor says, doing stuff as root is not considered go good security practise on Linux. You want to have a root account and also a user account that has less priveleges. Then you can have all your projects under your user account without fear or causing too much mayhem.

    I don't think that you understand the problem! I have Lazarus installed and inside the 'Lazarus' folder there is an 'Examples' folder and inside that folder there are many folders (e.g. one folder per example project). The real problem is that these projects are owner by 'root'.... and on my OS there is no such user as 'root' (e.g. root user does not exist).

    My OS is Linux UBUNTU Christian Edition... and the way it works is that there is only a single user (for me) called 'peter'. The user 'peter' normally does not have superuser access unless I enter a command like 'sudo' and then I'm prompted for a password.

    Can't I surely use a command like 'chown' to change the owner of the Example projects from the non-existent 'root' user to my user name 'peter'?

    As I don't know the UBUNTU commands very well I'm stuck not knowing what the command(s) are for me to change the owner of these Example projects.

    Yours Sincerely,
    pew { Peter_from_Hobart }

    signing off from Hobart, Tasmania, Australia.
    Love, Friendship and Best Wishes<br />Peter the Poet aka PEW

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
  •