Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 3 guests | Time: 17:31
fstab permission error?
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
You'll see what i mean by what i paste below.
5 posts found.
 fstab permission error?
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
Code[In neuem Fenster öffnen]
/etc/fstab: line 1: /dev/sda5: Permission denied
/etc/fstab: line 5: proc: command not found
/etc/fstab: line 6: binfmt_misc: command not found
/etc/fstab: line 7: tmpfs: command not found
/etc/fstab: line 8: devpts: command not found
/etc/fstab: line 9: tmpfs: command not found
/etc/fstab: line 10: sysfs: command not found


so, i simply typed
Code[In neuem Fenster öffnen]
/etc/fstab
as both su and user, both came with the information above.

are others able to view their fstab on their terminal? i've chmod'd the permissions to 777 and +x but still nothing.
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-09-01 17:47
Highlight selected Text   Edit   Delete   Quote Reply
 Re: fstab permission error?
Administrator
 
 
 
Posts: 426
Registered: 2004-09-09
/etc/fstab is not a script and you shouldn't call chmod +x on it. Use less /etc/fstab or cat /etc/fstab to view it.
Profile   Private Message   Web
Created: 2007-09-01 17:52
Highlight selected Text   Edit   Delete   Quote Reply
 Re: fstab permission error?
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
ahhhh F@#CK. i'm reading this article that spread cat /etc/fstab over two lines in a paragraph... of course the cat part was on line one... and /etc/fstab began line two.

I just read line two.

stupid of me. thanks.
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-09-02 00:02
Highlight selected Text   Edit   Delete   Quote Reply
 Re: fstab permission error?
Junior Mitglied
 
 
 
Posts: 22
Registered: 2006-12-30
have you ever seen things commented out though, on fstab?

Code[In neuem Fenster öffnen]
/dev/sda5 / ext3 defaults,noatime 0 1
# @BOOTDEV@ /boot @BOOTFSTYPE@ defaults,noatime 0 2
# @HOMEDEV@ /home @HOMEFSTYPE@ defaults,noatime 0 2
# @SWAP@ swap swap pri=1 0 0
proc /proc proc defaults 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0
tmpfs /dev tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0


most times i've looked at it, i've seen my windows partition looking similar to the first line, i thought. is this normal? or is it just my system?
 
..............................
www.prettybycritty.com in case you are married and want to get your wife something fun
Profile   Private Message   E-Mail
Created: 2007-09-02 00:12
Highlight selected Text   Edit   Delete   Quote Reply
 Re: fstab permission error?
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Here is my fstab which gets created by my installer-cd:

Code[In neuem Fenster öffnen]
# Created by Paldo GNU/Linux Installer-LiveCD by Amnon82
/dev/sda1 / ext3 defaults,noatime 0 1
#/dev/sda2 /media/sda2 ext3 defaults,auto,user,exec 0 1
/dev/sda5 /media/sda5 ext3 defaults,auto,user,exec 0 1
/dev/sda6 /media/sda6 ext3 defaults,auto,user,exec 0 1
/dev/sda7 /media/sda7 ext3 defaults,auto,user,exec 0 1
/dev/sdb5 /media/sdb5 ext3 defaults,auto,user,exec 0 1
/dev/sdb6 /media/sdb6 ext3 defaults,auto,user,exec 0 1
/dev/sdb7 /media/sdb7 ext3 defaults,auto,user,exec 0 1
/dev/sdb8 /media/sdb8 ext3 defaults,auto,user,exec 0 1
/dev/sda3 swap swap pri=1 0 0
proc /proc proc defaults 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0
tmpfs /dev tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0


the commented lines in the standard isos are only for information, so you can simpler add new partitions to fstab.
Profile   Private Message   E-Mail
Created: 2007-09-02 21:06
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a