Results 1 to 5 of 5

Thread: How to delete files with a lock on it

  1. #1
    Join Date
    Mar 2005
    Location
    Oregon
    Beans
    1,019
    Distro
    Ubuntu 20.04 Focal Fossa

    How to delete files with a lock on it

    How to delete files with a lock on it?

    Screenshot from 2020-06-25 08-21-37.png

  2. #2
    Join Date
    May 2010
    Beans
    801

    Re: How to delete files with a lock on it

    Its owned by root, you probably extracted the files with a command prefixed by sudo so the files created are root owned. You can also use:
    Code:
    sudo chown -R $USER $HOME/ovpn_tcp/*
    sudo chown -R $USER $HOME/ovpn_udp/*
    To change the ownership to your user, then do what you need with them.

  3. #3
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to delete files with a lock on it

    Those are folders. Are you sure you want to delete them? Have you tried:
    Code:
    sudo rm -r <foldername>

  4. #4
    Join Date
    May 2010
    Beans
    801

    Re: How to delete files with a lock on it

    Either extracted using sudo or moved/copied as root/using sudo

  5. #5
    Join Date
    Mar 2005
    Location
    Oregon
    Beans
    1,019
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to delete files with a lock on it

    Thank you

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
  •