![]() |
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 :crazy: ) that chroot prevents following symlinks so i have run the command
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! :thumbsup: |
/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 |
aoeuhtn's correct.
'man mount' would tell you stuff too. It will give you a rundown on all the options and possible arguements to the command. man's your friend ;) |
damn, too late to post here, but yeah....aoeuhtns is correct
|
thanks!
im all about the man page but sometimes i need examples when things confuse me. and of course i was looking in man fstab not man mount. |
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 |
Quote:
|
All times are GMT -8. The time now is 10:09 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project