LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2005, 04:31 PM   #1
rael_kid
Member
 
Registered: Mar 2005
Location: Holland
Distribution: Ubuntu
Posts: 37

Rep: Reputation: 15
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!
 
Old 03-23-2005, 07:22 PM   #2
xowl
Member
 
Registered: Jan 2005
Distribution: Slackware current (and others)
Posts: 188

Rep: Reputation: 30
I would try


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


to


/dev/hda6 /home ext2 defaults 0 0
 
Old 03-24-2005, 02:06 AM   #3
rael_kid
Member
 
Registered: Mar 2005
Location: Holland
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks, but I've already tried that.. Doesn't work...
Lex
 
Old 03-24-2005, 08:05 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Try: /dev/hda6 /home ext2 defaults 1 2
 
Old 03-25-2005, 01:24 AM   #5
rael_kid
Member
 
Registered: Mar 2005
Location: Holland
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't write to home dir. Mirari Linux - General 5 05-22-2005 03:42 PM
Can't write to my home dir Seiken Linux - Newbie 5 02-16-2005 09:42 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 08:54 PM
Apache Home Dir Nige General 1 02-24-2004 05:10 PM
home dir vsftpd ilengna Linux - Networking 7 10-14-2003 08:58 PM


All times are GMT -5. The time now is 02:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration