![]() |
![]() |
#1 (permalink) |
Crazy
Location: here and there
|
linux uber-geeks help needed (fstab related)
I have a linux server and want to allow users to get to a data directory through ftp. I use proftp and this is on a FC2 box. I realize (now
![]() mount --bind /data /home/user/data and this works like a charm. Problem is I dont want to have to re-run the command after every boot. so..... what would i add to fstab to give me that result? I don't understand all the options allowed with fstab, so an explanation of what they mean would be greatly helpful! ![]()
__________________
# chmod 111 /bin/Laden |
![]() |
![]() |
#2 (permalink) |
Crazy
Location: Salt Town, UT
|
/data /home/user/data none rw,bind 0 0
There is the proper entry. If you are ever curious on saving any other mounts to your fstab, just check out /etc/mtab, the lines in there are the lines you currently have mounted, so you can just copy that over to /etc/fstab |
![]() |
![]() |
#4 (permalink) |
Professional Loafer
Location: texas
|
damn, too late to post here, but yeah....aoeuhtns is correct
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane." |
![]() |
![]() |
#6 (permalink) |
Psycho
Location: Comfy Little Bungalow
|
man command
The "man" command is a wonderful thing on unix/linux and you should use it often. I am a linux newb, for the most part, and I find that "man" anything can solve about 90% of my problems. Still, it's nice when someone in a forum can help
![]() ![]() Pierre |
![]() |
![]() |
#7 (permalink) | |
Professional Loafer
Location: texas
|
Quote:
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane." |
|
![]() |
Tags |
fstab, linux, needed, related, ubergeeks |
|
|