From Windows to Ubuntu and I can't write to second driver.
I've been using Windows for almost my whole life and now I switched to Ubuntu because of its flexibility. I have 2 drives, one is for OS and the second where all my work is and important files. But here is the problem, in Ubuntu the second drives doesn't work properly I think. I can't create any new folders and if I try to change permissions from 'create and delete files' to 'access files' the message pops up saying "Sorry, could not change the permissions of 'New Volume":Error setting permissions: Read-only file system".
I came up to this problem when I tried to load an old android project with the android studio, the IDE said it doesn't have permission to access the file :(. Maybe all this is because of my poor knowledge of permissions, idk. Any help would be great :)! Thanks. |
You'll need to mount it read-write, or you will not be able to change permissions or write to it.
|
Your data drive might be NTFS format, which Linux mounts read-only by default. You can remount it like so:
Code:
mount -o remount rw /dev/sdb1 |
Quote:
|
Ubuntu and other Linux systems are designed as multi-user systems so the default is to allow any normal user read-write access only to the /home/user directory and sub-directories so if you are logged in as a user, that is expected behavior. You need to do some reading on using sudo in Ubuntu to give yourself permissions and/or change ownership. See the link below. Also the type of filesystem you are using will make a difference.
https://help.ubuntu.com/community/RootSudo? |
NTFS is a proprietary filesystem format whose performance suffers in diverse ways when used in Linux. Long term you should probably make plans to either backup the data on that disk, reformat it with a native Linux format (e.g. EXT4 or XFS), then restore the data, or, get another disk to use instead, and convert the old one to use as a backup device.
|
All times are GMT -5. The time now is 10:37 AM. |