Results 1 to 10 of 10

Thread: Read Only Problem

  1. #1
    Join Date
    Sep 2018
    Beans
    4

    Read Only Problem

    I'm new to linux and am using Lubuntu, also, not too sure if this is the right place to post this.
    I have 2 drives on my pc, and before I switched to linux both were Read-Write, but now that I'm on linux, my games drive has been switched to read only.
    I managed to get it to the point where I can edit the folders manually but whenever I try to link my games drive with steam it gives me a pop up saying "Failed to create a folder, this drive is read only"
    Any help would be appreciated

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Read Only Problem

    When storage is about to fail, one of the ways it is protected by Linux is the mount is changed to read-only. So the first thing you should do is make a backup of anything you don't want to loose.

    In the meantime, the output from df -hT would be helpful too. When you post it, please use code tags so things line up correctly and it is readable. If it doesn't look the same posted here as inside a terminal, then you didn't do it correctly.

  3. #3
    Join Date
    Sep 2018
    Beans
    4

    Re: Read Only Problem

    Not too sure what code tags are, but on my end it looks about right when I paste this:

    Not too sure what code tags are, but I played around with the spacing for a bit to make it read like in the terminal.

    Code:
    Filesystem     Type      Size  Used   Avail Use%  Mounted on
    udev        devtmpfs      12G        0    12G   0%     /dev
    tmpfs             tmpfs     2.4G  1.4M   2.4G   1%     /run
    /dev/sda2        ext4      2.7T  8.6G    2.6T   1%     /
    tmpfs             tmpfs      12G   73M    12G   1%     /dev/shm
    tmpfs             tmpfs     5.0M  4.0K    5.0M   1%    /run/lock
    tmpfs             tmpfs      12G       0      12G   0%    /sys/fs/cgroup
    tmpfs             tmpfs     2.4G   24K     2.4G   1%    /run/user/1000
    /dev/sdb5    fuseblk   932G  462G    470G  50%  /media/lucas/9646C63F46C61FBB
    /dev/sdc1          vfat     29G   1.1G      28G   4%   /media/lucas/LUBUNTU 18
    Last edited by spagbr0; September 11th, 2018 at 07:51 AM. Reason: Code tags added

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Read Only Problem

    I added code tags. As you will note, the formatting is now incorrect because you reformatted the plain text.

    Please use code tags.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  5. #5
    Join Date
    Sep 2018
    Beans
    4

    Re: Read Only Problem

    Thanks for showing me how that works.


    Code:
    Filesystem     Type      Size  Used Avail Use% Mounted on
    udev           devtmpfs   12G     0   12G   0% /dev
    tmpfs          tmpfs     2.4G  1.4M  2.4G   1% /run
    /dev/sda2      ext4      2.7T  8.6G  2.6T   1% /
    tmpfs          tmpfs      12G  4.0M   12G   1% /dev/shm
    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
    tmpfs          tmpfs      12G     0   12G   0% /sys/fs/cgroup
    tmpfs          tmpfs     2.4G   20K  2.4G   1% /run/user/1000
    /dev/sdc1      vfat       29G  1.1G   28G   4% /media/lucas/LUBUNTU 18_
    Hope this helps.

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Read Only Problem

    Code:
    /dev/sdc1      vfat       29G  1.1G   28G   4% /media/lucas/LUBUNTU 18_
    Is that the problem storage or is it one of the others?

    Was there anything in the system logs showing errors or warnings?

    Completely unrelated, but having the OS on a huge partition like this system does can cause issues. Generally, I limit the / partition to 25G and put any other storage needed into other partitions.

    Why? Backups are generally performed at the partition level and backing up the OS is a different need than backing up end-user or media files. It is pretty easy to backup 25G, but not nearly as easy to backup 2TB. I also like to keep media files separate, since they don't change very often and don't need backups nearly as often as the OS or documents and email in my HOME which change all the time.

  7. #7
    Join Date
    Sep 2018
    Beans
    4

    Re: Read Only Problem

    I think at this point it might be an actual mechanical or electrical issue with the drive as nothing I've tried has fixed it, at least none of the common fixes.
    The drive didn't show up on the df -hT so I think it might be broken.
    Thanks for the assistance though

  8. #8
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,659
    Distro
    Ubuntu Mate

    Re: Read Only Problem

    Here's one way to make your drive read-write. Use chmod:

    https://askubuntu.com/questions/9033...my-hard-drives

    The Fu above wrote a true fact, but it's likely that the owner is root. Change ownership with chmod.

    An easier way is to use the file manager. Most file managers can change permissions, it you run them thus:
    Code:
    sudo file.manager.name
    I mean Nautilus, Caja, and other file managers. If you run it as root, you can click on a file, folder, or whole drive and right-click to Properties. Then you can change ownership to yourself, and set read-write flags on files and folders.

    It might be a good idea to backup all files on your NTFS drives, reformat the drive with the Linux ext4 format, which is far less error-creating than NTFS. Then just copy the files to the newly-formatted drive. I had a nasty experience with a dual-formatted drive, and, while the Linux partition worked fine, the NTFS partition gave up the ghost.

    Just sayin'(.
    Last edited by oldrocker99; September 13th, 2018 at 08:08 PM.

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Read Only Problem

    chmod doesn't work on vfat or NTFS file systems. For those file systems, permissions are completely controlled by mount options.

    Unless a detailed NTFS-Unix mapping is undertaken and enabled. I've never done this, but have used it about 20 yrs ago.

    Also, be extremely careful even running any GUI tools as with sudo. Even without directly modifying any files, it can change permissions and set ownership that isn't intended.

  10. #10
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,659
    Distro
    Ubuntu Mate

    Re: Read Only Problem

    All this is true. The best advice I could give is to do a backup of the NTFS drives, and then format to ext4. NTFS is an inferior filesystem, IMHO.

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

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
  •