How hold smb in Personal folder?
Proper fstab entry to mount a samba share on boot?
Creating the Nabla operator (also known as Del operator) as an operator Can not create SFTP user Debian 7 I have a linode and I access via ssh throw terminal. I need to create an sftp user which his default directory (and the only he can access) is /var/www/xxxxxx.com/public_html/directory  Now, I did it, but when I try to connect I get broken pipe or connection rejected by peer  What I did is this:  $ adduser --home /var/www/xxxxxx.com/public_html/directory/ username $ chown username:username /var/www/xxxxxx.com/public_html/directory/ $ chmod 755 /var/www/xxxxxx.com/public_html/directory/ $ nano /etc/ssh/sshd_config   In /etc/ssh/sshd_config I added the following lines  Match User username    ChrootDirectory /var/www/xxxxxx.com/public_html/directory/    AllowTCPForwarding no    X11Forwarding no    ForceCommand internal-sftp   What am I doing wrong?  EDIT: This is the actual error    EDIT2: this is the error in filezilla    EDIT 3: auth.log   Oct 15 17:47:11 (none) sshd[361]: fatal: bad ownership or modes for chroot directory "/var/www/xxxxxxxxxxxx.com/public_html/extras_html" What is the fastest way to create a list of directories specified in a file? I have a text file, "foo.txt", that specifies a directory in each line:  data/bar/foo data/bar/foo/chum data/bar/chum/foo ...   There could be millions of directories and subdirectories What is the quickest way to create all the directories in bulk, using a terminal command ?  By quickest, I mean quickest to create all the directories. Since there are millions of directories there are many write operations.   I am using ubuntu 12.04.  EDIT: Keep in mind, the list may not fit in memory, since there are MILLIONS of lines, each representing a directory.  EDIT: My file has 4.5 million lines, each representing a directory, composed of alphanumeric characters, the path separator "/" , and possibly "../"  When I ran xargs -d '\n' mkdir -p &lt; foo.txt after a while it kept printing errors until i did ctrl + c:  mkdir: cannot create directory `../myData/data/a/m/e/d': No space left on device  But running df -h gives the following output:  Filesystem      Size  Used Avail Use% Mounted on /dev/xvda        48G   20G   28G  42% / devtmpfs        2.0G  4.0K  2.0G   1% /dev none            401M  164K  401M   1% /run none            5.0M     0  5.0M   0% /run/lock none            2.0G     0  2.0G   0% /run/shm   free -m   total       used       free     shared    buffers     cached Mem:          4002       3743        258          0       2870         13 -/+ buffers/cache:        859       3143 Swap:          255         26        229   EDIT: df -i  Filesystem      Inodes   IUsed  IFree IUse% Mounted on /dev/xvda      2872640 1878464 994176   66% / devtmpfs        512053    1388 510665    1% /dev none            512347     775 511572    1% /run none            512347       1 512346    1% /run/lock none            512347       1 512346    1% /run/shm   df -T  Filesystem     Type     1K-blocks     Used Available Use% Mounted on /dev/xvda      ext4      49315312 11447636  37350680  24% / devtmpfs       devtmpfs   2048212        4   2048208   1% /dev none           tmpfs       409880      164    409716   1% /run none           tmpfs         5120        0      5120   0% /run/lock none           tmpfs      2049388        0   2049388   0% /run/shm   EDIT: I increased the number of inodes, and reduced the depth of my directories, and it seemed to work. It took 2m16seconds this time round. Prove that $r \in R$ such that $0 \lt r \lt 1$ then $\frac{1}{r (1 - r)} \ge 4$ Hopefully I'm using the right terminology. I'd basically like to know how specific of a location I can make a Pokemon Lure. An Address will not cut it, would need to be like 5ft of my phone or something for it to be useful.  I do not currently play the game and am only interested in this to attract new customers similar to,  but I wouldn't be in a storefront with an address. How to delay or slowly loop commands? No "Login using Google" option in Android app I registered this ID with my Gmail account, and logged in successfully via web browser. However, while I was trying to log in on the Stack Exchange app in my Android Phone, I don't see any option to log in with Google:    I was told that no user was found with my Gmail account. It is amazing that I can log in via web browser, but cannot do so with the same Gmail account via app. How can I do that?  Just to compare, here is a "normal" login screen of another user:    Where did the Google login go and how can I bring it back?  My app version is 1.0.73, phone is Coolpad 8150D with Android version 4.0.3, kernel 3.0.8. Uniform distribution on the surface of unit sphere Is it possible to use JSF+Facelets with HTML 4/5? When using \textsc, LaTeX issues warning: Font shape `OT1/cmr/bx/sc' undefined We have been asked to prove the above statement through the two sub-proofs:   Firstly we must prove that $e^x$ is increasing and then prove that $\log(x)$ is also an increasing function.   After we are asked to prove that using the delta-epsilion definition of a limit that $\lim_{x \to 0} e^x = 1$.   I have done all of this but still don't see where the instructor is going with this. Does each new Horcrux take half of Voldemort's remaining soul, thus taking a smaller piece each time? When you commit a murder and create a Horcrux, you split your soul. It’s been talked a lot about Voldemort splitting his soul in 7/8 parts. But I think his remaining soul was not 1/7 or 1/8 but far more weaker than that because he did not create all Horcruxes at once.  When he created his first Horcrux, his soul was split into 50-50 (diary). But when the second Horcrux was created, it was created by Voldemort only and the first Horcrux soul should have remained intact. Hence it would have been a 25-25 split of Voldemort's main soul. And so on for every split.  Am I right? What is a lambda (function)? What is the Fastest a Character Can Move in One Turn? At level 20 with any magic items in the DMG, and any spells, what is the fastest a DnD 5e character could move using their movement?  (i.e., not including teleportation) Proper notation for distinct sets Consider I have two sets that neither one is a subset of the other (for example, the set of prime numbers and the set of odd integers). Is there a specific notation that combines the meanings of both ⊄ and ⊅ ?  Also, is there a notation to mean that two sets are completely distinct and share no elements in common (for example, the sets of odd and even integers)?  ≠ seems very inappropriate, and I'd like to avoid it.  Context: My area is actually Computer Science. I'm using this refine my vocabulary in order to teach my students about  (which is basically about sets and subsets of IP addresses), and to write some exercises for them. I'll probably use the words incomparable and disjoint as suggested. Can you help me with my capacity planning? Orthographic Camera Zooming In XNA I am using a spritebatch to render a board. I have created a camera class which can provide me a view and projection matrix. Currently I am supplying the view matrix to my sprite batch when I call begin.  I can get the view matrix to correctly move everything around and do some zooming in and out. My problem is that I want to zoom in on a specific point (for now the center of the screen) but currently zooming just zooms in on the coordinate 0,0.   Here is how I am constructing the view matrix;          _ViewMatrix =             Matrix.CreateTranslation(                 new Vector3(                     (-_Position.X + _Width * _Zoom / 2),                     (-_Position.Y + _Height * _Zoom / 2),                     0) ) *             Matrix.CreateScale(new Vector3(_Zoom, _Zoom, 1));   How could this be altered to make it scale correctly relative to the given point. Later I will probably want to zoom to the mouse position, but if someone has a simple example I'm sure I can work out how to adapt it. What is the appropriate statistical test when calculating the busiest day of the week? We have 10 years of data and Monday is the busiest (most visits to the hospital) on average. If we wanted to assess whether that is true and report a p-value, what is the appropriate statistic?   We believe the answer is chi-square as we found a peer-reviewed medical article from the Annals of Emergency Medicine (highest circulating journal for that specialty) that used chi-square for this very calculation.   If chi-square is appropriate, what values do we use for observed and expected values for chi-square? One approach would be to list all the values for Monday as observed values, or all the means for Mondays averaged across a month, or all the means for Mondays averaged across a year.  If there were no busiest or least busy days, we would assume that the visits would be the same every day of the week. That means our "expected values" for Chi-Square would be the mean of the visits for any given week. The rulebook states that carrying capacity is the strength score times 15 (lbs). Find familiar allows me to get a hawk, which has a strength score of 5. This results in a carrying capacity of 75 lbs. This is well within the range of weights for small people such as gnomes or halflings. Does this mean my familiar can carry them and fly away (given they do not struggle)? Gravitational shielding and equivalence principle