LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 03-31-2005, 11:46 PM   #1
bernstein
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Rep: Reputation: 0
changing perms on hd


Hello all,


Well, I am having heaps of trouble with the editing of my fstab. I just want to make my hd rw, but I have done pretty much everthing, i think. I added rw to the fstab line pertaining to hd and my drive is readable and mountable, just can't write to it. I would post my fstab up here to be more helpful but I can't figure out how to copy and paste it, damnit.

As far as c & pasting, I've written fstab from nano to a .pw file for the writer to edit, however, when I open the file with writer, its just blank white space. Any ideas anybody?

Last edited by bernstein; 03-31-2005 at 11:48 PM.
 
Old 04-01-2005, 12:13 AM   #2
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
Do you mean you can't write to it as root or as a normal user?
Have you added "user" to the fstab line?

What distribution are you using?

Is this the root partition or a secondary drive?

Which "writer" are you talking about, do you mean the OpenOffice Writer? And if so, then you must be in a graphical environment, and why not open the fstab file directly? OpenOffice Writer and pretty much any text editor should read it.

Last edited by Berto; 04-01-2005 at 12:17 AM.
 
Old 04-01-2005, 05:15 PM   #3
bernstein
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Hey,

I changed fstab so that any user has write permissions. The drive is formatted and I run off a live cd so nothings on the drive. I run DamnSmallLinux, which is why I use their "Writer" which will not read the fstab when I save it as a .pw or .txt. So if this helps any I'm open to anything, but I think its the fstab lines. I would just post my fstab but the writer is preventing this. Man, if only my comp was a bit newer, I'd be running nothing but knoppix. Oh well, just have to wait.
 
Old 04-01-2005, 07:57 PM   #4
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
Why do you need to save the file as anything other than a unix textfile?

EDIT: Because many things read Unix textfiles, including Mozilla if you have to paste it from Windows.

Last edited by Berto; 04-01-2005 at 08:10 PM.
 
Old 04-02-2005, 09:36 PM   #5
bernstein
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the info Berto.

Here is what my fstab looks like on boot:

/proc /proc proc defaults 0 0
/sys /sys sysfs noauto 0 0
/dev/pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext2 noauto,users,exec 0 0


I'm not exactly sure what would make it hda1 writeable. I tried placing "rw" behind users and also after exec with no luck on either. Any ideas are welcome here.
 
Old 04-04-2005, 02:28 PM   #6
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
Ahah! It should be "user" instead of "users".

And I am also not seeing a root mount point, are you trying to use hda1 as your root drive? If so, then it needs no parameters other than "defaults" like your /proc and it should be mounted as / not /mnt/hd

Hope this helps.
 
Old 04-04-2005, 09:47 PM   #7
bernstein
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Got it all straight now!

Thanks for all the help Berto.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where's /etc/security/console.perms? NetRAVEN5000 Slackware 15 06-20-2005 04:59 PM
cdrw perms doralsoral Linux - Software 0 05-06-2004 10:26 PM
ripperX perms doralsoral Linux - Software 5 05-02-2004 11:22 AM
Is it safe to use those perms ? Punker51 Linux - Newbie 2 12-07-2003 09:27 AM
ppp as non root w/o changing perms (slackware) xmnemonic Linux - Networking 0 08-02-2003 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration