LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting home dir trouble (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-home-dir-trouble-305205/)

rael_kid 03-23-2005 03:31 PM

Mounting home dir trouble
 
Hey all! I've just installed Ubuntu, but I've got this strange problem while trying to mount my home dir, which is on another partition. This is how my fstab looks like:

Code:

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
/dev/hda1      /              ext2    defaults,errors=remount-ro 0      1
/dev/hda5      none            swap    sw              0      0
/dev/hdc        /media/cdrom0  udf,iso9660 ro,user,noauto  0      0
/dev/hda6    /home          ext2    rw,nosuid,nodev 0      2

But everytime I try to log on I get a message that my home dir's mode cannot be set to 0700 because that action is not allowed. What should I do?
Thanks!

xowl 03-23-2005 06:22 PM

I would try


/dev/hda6 /home ext2 rw,nosuid,nodev 0 2


to


/dev/hda6 /home ext2 defaults 0 0

rael_kid 03-24-2005 01:06 AM

Thanks, but I've already tried that.. Doesn't work...
Lex

{BBI}Nexus{BBI} 03-24-2005 07:05 PM

Try: /dev/hda6 /home ext2 defaults 1 2

rael_kid 03-25-2005 12:24 AM

Thanks for your reply, I've changed the line to:

/dev/hda6 /home ext2 defaults 0 2

And no it works. Can anyone tell me what those two numbers (dump and pass) are for?

Thanks,

Lex


All times are GMT -5. The time now is 05:17 AM.