Results 1 to 3 of 3

Thread: chown -R www-data:www-data /usr/share/wordpress - Operation not permitted

  1. #1
    Join Date
    Mar 2009
    Beans
    1

    Question chown -R www-data:www-data /usr/share/wordpress - Operation not permitted

    Hi all, and thanks in advance for any help you offer.

    Recently I installed Wordpress/lamp/mysql on my ubuntu lucid installation (I followed this well written article https://help.ubuntu.com/community/WordPress).

    All went well, except for when I ran:

    chown -R www-data /usr/share/wordpress

    I got

    chown: changing ownership of `/usr/share/wordpress': Operation not permitted

    on all the files in the wordpress directory...

    Next after some research

    I tried:

    chown -R www-data:www-data /usr/share/wordpress
    chown -R dan:www-data /usr/share/wordpress
    sudo chown -R www-data:www-data /usr/share/wordpress

    Same results everytime, "Operation not permitted" on all files in the wordpress directory

    Next I stopped the apache service and tried all of the above and it I got the same "Operation Failed" error everytime. I searched, google, bing and even dogpile four or five times.. Found one post that said if my disk was fat32 it could be causing the problem. So I checked and made sure the disk is ext2/ext3.

    How can I get these permissions set?

    From what I have read this is why when I go to the wordpress web gui and try to upgrade anything it fails and says I am using the wrong password.. Even when I have used my WP username/password, and my user account. Nothing has worked so far.

    If anyone has an idea or knows how to fix this - please let me know.

    Kind regards,

    Dan

    <-- Any other guitar players out there? If so check out my working blog at danspec.com - and get riffworks so we can jam!
    Last edited by DanSpec; October 10th, 2010 at 02:59 PM. Reason: Edited for clarity

  2. #2
    Join Date
    Jul 2011
    Location
    Guwahati
    Beans
    25
    Distro
    Kubuntu 11.04 Natty Narwhal

    Smile Re: chown -R www-data:www-data /usr/share/wordpress - Operation not permitted

    sudo chown -R dan:www-data /usr/share/wordpress


    I assume that dan is your username ... that would do as far as i know!..
    Tell me , if you still have issues..

    If the problem persists , try removing -R , to figure out whether it works on files on one level at the least.
    Ubuntu is user friendly but it is specific about it's friends XD..

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 15.04 Vivid Vervet

    Re: chown -R www-data:www-data /usr/share/wordpress - Operation not permitted

    Old thread closed.

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
  •