My New Shop
MTS Creations

Subscribe to My YouTube Channel

Monday, January 11, 2010

Linux Ramblings...

This is the line used to mount a folder on startup.

# nano /etc/fstab
/home/chroot_directory/somefolder /home/marc/somefolder   none    rw,bind   0       0

Another great command is "umask 002" which is run from inside the folder where you would like the default -rwx permissions set on folder/file creation.
umask 022 is default which is -rwxr-xr-x.  I had to use
umask 002 for the group to write to it as well (-rwxrwxr-w)
Post a Comment