Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Closed Thread
  Search this Thread
Old 08-05-2005, 06:15 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
/ect/fstab to Mount /dev/hdc1 to FTP

/etc/fstab to mount /dev/hdc1 to FTP ( post #1)

Hi There,

I'm in the process of setting up a new web server. The server has two disk drives. The second drive has only one partition which is /dev/hdc1. I need to mount this partition onto a mount point that is in the httpdocs directory. This will allow this second hard disk partition to hold files that are part of the web site. The mount point needs to have r/w authorization from FTP just like the balance of the web site. This allows the new mount point (web directory) to be just like all the other directories of the site.

I've been able to mount /dev/hdc1 to the mount point where I need it. So far, so good. When I try to access this new ftp directory I can open the mount point directory. When I try to create a new object in this directory, I receive an access rights error and can't create the new object.

I need to be able to mount /dev/hdc1 so this partition can be written from FTP by a non-root user. I believe if I get this far, the files will be visible to FTP and users accessing the directory via hyperlinks coded in our web site.

So far I have:

/dev/hdc1 /...stuff.../httpdocs/NewDir ext3 defaults

in /etc/fstab. The user and users options don't seem to apply as they allow users to mount and umount. Somehow I need to set the permissions for the device.

Thanks in advance for your help on this! Greg
Old 08-05-2005, 09:46 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 253Reputation: 253Reputation: 253
Did you intend to break the rules you agreed to when registering? Clearly you didn't even read the rules you clicked "OK" to proceed in the registration process. Next time you should read such agreements or you'll feel really awful when the site demands your first born for you to proceed in registering to use the site..

Closed Thread

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab timalan SUSE / openSUSE 24 08-20-2005 09:41 AM
/etc/fstab to mount /dev/hdc1 to FTP GregSims Linux - Newbie 5 08-05-2005 10:09 PM
Need help: fstab, /dev, and /mount are all HIGGLEDY-PIGGLEDY! tigerflag Slackware 10 08-10-2004 10:23 AM
how to mount devices not shown in /ect/fstab??? len Slackware 2 12-19-2003 05:01 PM
Error mounting /dev/hdc1 djtsa Linux - Hardware 7 10-02-2003 02:14 AM > Forums > Linux Forums > Linux - General

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

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