Results 1 to 9 of 9

Thread: Can't delete folder?

  1. #1
    Join Date
    Jun 2013
    Beans
    14

    Can't delete folder?

    Hello Everyone. As you may know I am having trouble with getting Flash to work on my Xubuntu 12.04 Google Chrome. I have googled and found a solution, but it requires deleting the PepperFlash folder under chrome. But when I right-click the PepperFlash folder, delete is grayed out.
    Screenshot:


    After doing more googling, I ended up putting this in the Terminal:

    Code:
    chown $USER -R /opt/google/chrome/PepperFlash
    but the terminal said:
    Code:
    user@ubuntu:~$ chown $USER -R /opt/google/chrome/PepperFlashchown: changing ownership of `/opt/google/chrome/PepperFlash/libpepflashplayer.so': Operation not permitted
    chown: changing ownership of `/opt/google/chrome/PepperFlash/manifest.json': Operation not permitted
    chown: changing ownership of `/opt/google/chrome/PepperFlash': Operation not permitted
    user@ubuntu:~$
    Please help! My goal is to delete the PepperFlash folder. By the way, in the PepperFlash folder's properties, it says it's owner is root.

    - Paradoxicated

  2. #2
    Join Date
    Jun 2013
    Beans
    161

    Re: Can't delete folder?

    try
    Code:
     sudo rm -rf /opt/google/chrome/PepperFlash
    while chrome is not running.

    edit:
    you cannot delete it because the folder is root. root trumps user. you also cannot chown it because it is root (again root trumps user).
    to remove it you need to do it as root.
    sudo (or super user do) means "do this command as root user"

  3. #3
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,820
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Can't delete folder?

    You need sudo to delete files owned by root. Open a terminal and start the file manager with
    Code:
    gksu thunar
    Then do whatever you need to do and close the file manager as soon as you're done, as leaving file managers with root permission open is rather dangerous.

  4. #4
    Join Date
    Jan 2008
    Beans
    7,744

    Re: Can't delete folder?

    Never delete system folders owned by root!
    You should uninstall properly using the Software Manager.

    Generally speaking, I advise against googling and following random how-to's from some guy's blog. Always follow the official Ubuntu documentation and use trusted tools such as the Software Center.

  5. #5
    Join Date
    Jun 2013
    Beans
    161

    Re: Can't delete folder?

    Quote Originally Posted by snowpine View Post
    Never delete system folders owned by root!
    You should uninstall properly using the Software Manager.

    Generally speaking, I advise against googling and following random how-to's from some guy's blog. Always follow the official Ubuntu documentation and use trusted tools such as the Software Center.
    well in this case, deleting pepper flash seems relatively safe (and isolated)

  6. #6
    Join Date
    Jun 2013
    Beans
    14

    Re: Can't delete folder?

    So I'm gonna do what post #3 said.

    Thanks for everyone's help, I'll update in a sec.

  7. #7
    Join Date
    Jun 2013
    Beans
    14

    Re: Can't delete folder?

    I deleted it (by using post #3), but Chrome still has the "Could not load shockwave flash" message.

    Help anyone?

  8. #8
    Join Date
    Jun 2013
    Beans
    161

    Re: Can't delete folder?

    reinstall chrome.

  9. #9
    Join Date
    Jun 2013
    Beans
    14

    Re: Can't delete folder?

    I reinstalled. Flash still didn't work. I deleted PepperFlash. Still doesn't work.

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
  •