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!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > [SOLVED] Writing data on a 'linux' hard-disk-partitioning

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 04-14-2009   #1 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 4
[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

Your help is very much appreciated : )
Aquilegiafolium is offline  



Old 04-15-2009   #2 (permalink)
Linux Engineer
 
b2bwild's Avatar
 
Join Date: Jul 2008
Location: Behind You!
Posts: 1,099
Send a message via MSN to b2bwild Send a message via Skype™ to b2bwild
When you mount that partition. use option "umask=0 0 0"
so others have permission to write and read the data
__________________
Never make any misteaks.

Read my Blog at --> Penguin Inside Subscribe Feed
b2bwild is offline  
Old 04-15-2009   #3 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,068
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
devils casper is offline  
Old 04-15-2009   #4 (permalink)
Linux Engineer
 
b2bwild's Avatar
 
Join Date: Jul 2008
Location: Behind You!
Posts: 1,099
Send a message via MSN to b2bwild Send a message via Skype™ to b2bwild
Lightbulb

Quote:
Originally Posted by devils casper View Post
umask works for non-Linux partitions only.
Oh, yeah I forgot that one
glad you figure it out.
__________________
Never make any misteaks.

Read my Blog at --> Penguin Inside Subscribe Feed
b2bwild is offline  
Old 04-15-2009   #5 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 4
Thank you very much! It worked : D
I use live-cd by the way

:happy with my new hard-disk-partition now : )
Aquilegiafolium is offline  
Old 04-15-2009   #6 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 22,068
Glad to help you !
Do start a new thread if you have any other question.
__________________
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
devils casper is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
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



All times are GMT. The time now is 11:54 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1