Question for Linux and or Ubuntu users

by ThomM
9 replies
  • OFF TOPIC
  • |
I know if you're using Ubuntu you're using Linux, but you can be using Linux and not Ubuntu
Anyways. I installed LAMP yesterday with the idea of working with Wordpress on my computer for an upcoming site I want to build.
I tried installing WP through a terminal, but it only installed the WP folder with 2 (useless) files in it.
Because the www folder is in a system folder I can't copy WP to it without changing the permissions on the folder which has to be done from the terminal. I checked the Ubuntu forum and the Sudo page on changing permissions, but they did nothing but confuse me (no surprise there).
Could someone give me the sudo command to change the permissions to R-W for that folder?
Thanks.
  • Profile picture of the author Joe Mobley
    ThomM,

    It has been a long time but try

    sudo chmod +rw file

    sudo may ask for the root password

    Also check https://help.ubuntu.com/community/FilePermissions

    Let us know.

    Joe Mobley
    Signature

    .

    Follow Me on Twitter: @daVinciJoe
    {{ DiscussionBoard.errors[4963204].message }}
    • Profile picture of the author ThomM
      Thanks Joe.
      I read that page before and it didn't make sense till you told me what to try above.
      I'll let you know how it works. Not sure if I'm going to try it tonight or tomorrow.
      Signature

      Life: Nature's way of keeping meat fresh
      Getting old ain't for sissy's
      As you are I was, as I am you will be
      You can't fix stupid, but you can always out smart it.

      {{ DiscussionBoard.errors[4963357].message }}
  • Profile picture of the author slatron25
    Actually I think the command is chown. So it would be chown user directory or file. If you want to change ownership of wordpress to the user sue the command would be

    sudo chown -hR sue wordpress

    the -hR would tell ubuntu to include all subfolders. Also you need the full path to wordpress if you are not in the folder right above it. Meaning if you do the ls command and see the wordpress directory the above command will work.
    {{ DiscussionBoard.errors[4963447].message }}
    • Profile picture of the author ThomM
      Well nothing worked through the terminal.
      But I just found the instructions I need in the Ubuntu forum after digging through the search results there
      Seems when you install WP through the terminal it puts the config files in a wp folder in the www folder and the rest of the php files in a wp folder in a totally different folder. The instructions are in another wp folder in another system folder:confused:
      It's starting to make my brain hurt tonight so I'll attack it all tomorrow.
      Signature

      Life: Nature's way of keeping meat fresh
      Getting old ain't for sissy's
      As you are I was, as I am you will be
      You can't fix stupid, but you can always out smart it.

      {{ DiscussionBoard.errors[4963567].message }}
      • Profile picture of the author Joe Mobley
        *nix will do that.

        Joe Mobley

        Originally Posted by ThomM View Post

        It's starting to make my brain hurt...
        Signature

        .

        Follow Me on Twitter: @daVinciJoe
        {{ DiscussionBoard.errors[4965282].message }}
        • Profile picture of the author seasoned
          Originally Posted by Joe Mobley View Post

          *nix will do that.

          Joe Mobley
          Windows will too! At least unix has some standards that are practically written in stone for about FORTY YEARS! Windows only CLAIMS sometimes to follow them, which is laughable!

          Steve
          {{ DiscussionBoard.errors[4965362].message }}
  • Profile picture of the author Sumit Menon
    Originally Posted by ThomM View Post

    I know if you're using Ubuntu you're using Linux, but you can be using Linux and not Ubuntu
    Look at the motorcycle man getting all geeky. :p

    I don't use ubuntu but I could ask around if you haven't solved the problem yet.
    {{ DiscussionBoard.errors[4970486].message }}
    • Profile picture of the author ThomM
      Originally Posted by Sumit Menon View Post

      Look at the motorcycle man getting all geeky. :p

      I don't use ubuntu but I could ask around if you haven't solved the problem yet.
      A few years ago I had an online partner. One day we where talking and realized we had turned into the people we used to make fun off in high school
      I know what I need to do to get it working now, but thanks for the offer.
      Signature

      Life: Nature's way of keeping meat fresh
      Getting old ain't for sissy's
      As you are I was, as I am you will be
      You can't fix stupid, but you can always out smart it.

      {{ DiscussionBoard.errors[4971383].message }}
  • Profile picture of the author gareth
    I develop on xp in virtualbox using xampp
    Signature
    {{ DiscussionBoard.errors[4971466].message }}

Trending Topics