Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
[SOLVED] Writing data on a 'linux' hard-disk-partitioning
Hello all,
I'm quite new with linux and have a generally low experience with computers, but I wanted to try out linux with knoppix (and leave windows intact)
So I created in linux a hard-disk partition using 'QTParted' using a ext3 partitioning.
Afterwards this partitioning showed up on my desktop as sda3 (other 2 partitionings are windows using ntfs system)
But now the problem is that i can't write on this partition i designed to be used for linux-files (it's read-only)
To solve this i tried the following:
-On the desktop i clicked 'right' on the icon of the sda3 partition, mounting it and using actions -> change read-write mode
This seemed to work and asking for the properties gave me some info:
Ownership: knoppix
and i could make it writable by all users under the properties and permissions.
Now I tried to open the sda3-partition using 'Konqueror', I could open the sda3 partition 'located' on my desktop upon which i got transferred to the same partition on another location: /media/sda3, but I could make folders or other new files here, it refused me access when trying to write data.
Now i tried changing the permissions using the 'properties' of the sda3 located in the /media/sda3.. This didn't work since ownership was by 'root' and i couldn't access permissions, since i wasn't owner.
My next attempt was a bit more fruitful. Using the prompt-box, i could enter /media/sda3, but still not create files with 'mkdir' and others, but I could make folders and files after using 'su' which transferred me to the 'root' (I don't know how this works actually but found it in a 'linux for dummies' manual.
---
Now my question: Is there a way to make this partition writable for me or to change 'ownership' of the /media/sda3 partition from 'root' to 'knoppix' so I can write other data than just directories and textfiles on this partition?
Or is knoppix just unsuited to safe data on hard-disk and should i try another version of linux?
All this protection is very nice since it's possible to overwrite windows files and such, but i'd like to store some info on a more reliable place than my ram : p
Are you using LiveCD of Knoppix or installed it on Harddisk?
You have to change ownership of Linux Partition to enable read/write access.
Execute id command and note down User and Group Id.
Execute chown command to change ownership.
Code:
id
chown -R user_id:group_id /media/sda3
Quote:
Originally Posted by b2bwild
When you mount that partition. use option "umask=0 0 0"
so others have permission to write and read the data
umask works for non-Linux partitions only.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users:Read This First
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe