If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #56
Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
Look down, I got it working the way I wanted it Turned out to be quite a task...
Ok, so I converted my desktop to ubuntu a while ago... All seems ok, but for the fact that I cant convince it to let me (as opposed to root) do anything with the second hard drive in the box
I have a 95gb partition which is currently mounted as /data2 (/data1 is a partition on the first hard drive, which has teh same 'problem'). The drive is located at /dev/hdb2, and right now I have the line
in the /etc/fstab folder. Yes I did the mount -a after making changes. But the drive still shows up as root under properties and they only way for me to do anything with it is to use sudo... I tried mounting it in my /home/peter directory, tried mounting it manually, etc but it just wont give in.
Registered Member #16
Joined: Thu Feb 02 2006, 02:22PM
Location: New Wilmington, PA
Posts: 554
Well, if you want to mount manually every time you reboot, its:
umount /dev/{devicehere} mount -t vfat -o {yourusernamehere} /dev/{devicehere} /{whatever directory you mount it to}
Minus all the brackets of course.
That will allow whichever user name you enter to utilize the drive. If you want it set so it mounts it automatically when you reboot, you'll have to edit a configuration file. I'm not positive how to do that one, as I've never run into it.
Registered Member #56
Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
hmm, this is going somewhere...
I added the uid=1000 in the fstab file, and now I can get to the drive Unfortunately it is still stuck at 755 access; so no one else can
To get it to go to 777 I have tried sudo chmod 777 /data2 and making a directory inside of the drive and trying to change its permissions... but no luck. It doesn't give any error message, but it stays 755.
So what gives? Thanks!
---Edit:--- I found that if I use umask=0000 then I get full access to them
Ok, so here is the last problem.... How do I make a folder appear in more than on place?
I am setting up this harddrive with all of my songs/homework/other files which will go on a small intranet ftp server. I have it set up so each account has its own home directory at /data1/ftp/[user name], which is working great. But now I want to share the larger drive (/data2) in each of the home directories of the users, so it would be like /data1/ftp/mom/data2 /data1/ftp/dad/data2 such that each user could have the /[user name] to put personal files, and have the shared ones in the /data2 drive (or directory on the drive)
It was so easy with slimftp, why cant proftp be the same
If there isn't some easy way to mount the drive in multiple places I am going to find a better ftp sever that is completely virtual; none of this requiring the ftp users/directories to have real accounts/directories on the server
Registered Member #189
Joined: Thu Feb 16 2006, 07:43PM
Location: Winfield, Missouri, USA
Posts: 46
yeah symlinks will work, but only for direct access of the machine. If you do a network mount via samba or something, symlinks will not work, because the computer with it mounted will see the symlink and think it means on itself, rather than on the machine that actually has the share. FTP will work though, with most servers (also, sometimes, like if you have the ftp access to show that account's default directory as root for them they won't be able to access anything outside of it even via symlink.)
Registered Member #56
Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
Ok, I am very close...
The symlinks didn't work because I was making an inter-block-device link. But mount --bind /data/secondary/ftp /data/primary/FTP-shared/mike/data (I changed the names of the drives around so I could remember what was going on, /data/secondary is the drive that has the files on it and /data/primary is the drive that the folder referring to the drive is on.
In an attempt to make if go on its own I tried adding... /data/secondary/ftp /data/primary/FTP-shared/mike/data vfat umask=0000 0 0 to fstab but I get an error that it is not a block device I also tried adding /dev/hdb2 /data/primary/FTP-shared/mike/data vfat umask=0000 0 0 but that didn't work either.
So how would I make ubuntu do the mount on its own?
Registered Member #56
Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
I made it work with the mount --bind /data/secondary/ftp /data/primary/FTP-shared/mike/data command, but I don't want to tye that 5 times each time reboot
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.