Results 1 to 7 of 7

Thread: Accidently changed access to all folders

Threaded View

  1. #1
    Join Date
    Aug 2024
    Beans
    2

    Accidently changed access to all folders

    I've broke my system. What i did is:
    $ sudo find /. f -print0 | xargs -0 sudo chmod 0644
    sudo: unable to execute /usr/bin/chmod: Argument list too long
    sudo: unable to execute /usr/bin/chmod: Argument list too long
    sudo: unable to execute /usr/bin/chmod: Argument list too long
    sudo: unable to execute /usr/bin/chmod: Argument list too long
    chmod: changing permissions of '/./sys/fs/cgroup': Read-only file system
    xargs: sudo: Permission denied

    So i think problem is that all folders now lost +X access

    Now i cant use it. Even cant start recovery. What can i do to fix it ?

    Thanks
    Last edited by railrash; August 6th, 2024 at 10:55 AM.

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
  •