LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 08-05-2005, 06:15 PM   #1
GregSims
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
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
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..

http://www.linuxquestions.org/rules.php
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab timalan Suse/Novell 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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration