Results 1 to 2 of 2

Thread: changed ownership permissions and now partitians are on read only mode

  1. #1
    Join Date
    Sep 2024
    Beans
    1

    Question changed ownership permissions and now partitians are on read only mode

    Hi everyone, I have ubuntu 22.04 LTS installed on a ssd. I have other installs of mint on the 2nd drive on one partition. Another partition has another version of ubuntu. My main distro is ubuntu and is the one I am logged into now.

    The one partition on the 2nd drive was set on read only and I'm trying to change the permissions and take ownership of that partition so I can copy off some files. In the terminal I typed in the command "sudo chmod 237 /dev/sdb9" and suddenly most of the partitions were marked as read only. I then did "sudo chmod 777 /dev/sdb9" and it hasn't changed. I opened the disks app and I've gone to some of the partitions and I see I've messed up the ownership.

    How do I take ownership back and restore it the way it was? I thought 237 changed ownership of the one partitian and 777 changed for all users. I'm still learning Ubuntu so I feel like I properly messed up.
    Attached Images Attached Images
    Last edited by techniciancit; 2 Weeks Ago at 02:34 PM. Reason: updated version

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,846

    Re: changed ownership permissions and now partitians are on read only mode

    How do I take ownership back and restore it the way it was? I thought 237 changed ownership of the one partitian and 777 changed for all users.
    The chmod command does not change ownership, it changes permissions only.

    To get a better picture of this situation, find the owner and permissions of the mount point of the filesystem on /dev/sdb9 with terminal command
    ls -dl path to mountpoint
    and post the result. Of course, sdb9 has to be mounted at its mount point when you run it. Also change "path to mountpoint" here to the actual path and mount point.

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
  •