[SOLVED] From Windows to Ubuntu and I can't write to second driver.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
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
where sdb1 is the device file for the drive. It might be different. You can type 'mount' to see all the mount points and figure out which is the correct drive.
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
where sdb1 is the device file for the drive. It might be different. You can type 'mount' to see all the mount points and figure out which is the correct drive.
Every Linux distro I have used mounts ntfs as read/write. Ive used CentOS, RHEL, OpenSUSE, Oracle, Fedora. Maybe Ubuntu is different, but every distro Ive used mounts ntfs as read/write by default. Anyway, follow the advice given here as it does sound like its mounted as read-only which I find a little odd. However I am still fairly new to linux.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.