When I try to back up my home folder with grsync to an external drive  I'm getting this error  rsync: opendir "/home/jackie/.cache/dconf" failed: Permission denied (13)   Can anyone help? Not related to my question but do all the applications and settings get backup as well?
I am creating backup and after completion I got this..  Could not back up the following files. Please make sure you are able to open them.      /home/vinay/.cache/dconf     /home/vinay/.gvfs   I through terminal to open these file using  cd /home/vinay/.cache/dconf   It shows  bash: cd: /home/vinay/.cache/dconf: Permission denied   How can I get access to these files?  Is it fine to get permissions or leave as it is and not creating any backup for these files?
Will reformatting my hard drive fix bad sectors on it? Lenovo Y510P: Battery wont charge past 60% On my y510p, I set Lenovos battery software to "Optimize battery health" while I was in Windows 8.1. I forgot to change it before overwriting that partition with Ubuntu, and now my battery in Ubuntu never charges past 59~60%. I think this is due to something in the BIOS because it persists despite my Windows partition being gone.   I've searched the BIOS but there's no mention of battery anywhere!  I'm using Ubuntu 14.04 LTS. What is the symbolic significance of the Night King's message? In Game of Thrones S8E1,        Ned Umber is found pinned to a wall by the Night King with a symbolic message, which looks like tentacles coming out of the body of Ned.   Is there some meaning to that symbolic message? If yes, then what is that? I'm trying to compile a document that only works with an up-to-date distribution, so I'd like to know: how do I update my distribution? Please provide screenshots where appropriate.  List of answers           To keep an eye on what’s going on at CTAN you may subscribe to the  or the RSS feed feed://www.mail-archive.com/ctan-ann@dante.de/maillist.xml I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see.  I've created a user called bob and added him to a new group called sftponly. They have a home directory at /home/bob. I've changed their shell to /bin/false to stop SSH logins. Here is their /etc/passwd line:  bob:x:1001:1002::/home/bob:/bin/false   I've also changed the /etc/ssh/sshd_config to include the following:  Match Group sftponly         ChrootDirectory /home/%u         ForceCommand internal-sftp         AllowTcpForwarding no   When I try to log in as them, here's what I see   $ sftp bob@server bob@server's password:  Write failed: Broken pipe Couldn't read packet: Connection reset by peer   If I comment out the ChrootDirectory line I can SFTP in but then they have free rein over the server. I have found that ChrootDirectory /home works, but it still gives them access to any home directory. I have explicitly tried ChrootDirectory /home/bob but that doesn't work either.  What am I doing wrong? How can I limit bob to /home/bob/?  ----EDIT-----  Okay so I just had a look at /var/log/auth.log and saw this:  May  9 14:45:48 nj sshd[5074]: pam_unix(sshd:session): session opened for user bob by (uid=0) May  9 14:45:48 nj sshd[5091]: fatal: bad ownership or modes for chroot directory component "/home/bob/" May  9 14:45:48 nj sshd[5074]: pam_unix(sshd:session): session closed for user bob   I'm not entirely sure what's going on there,  but it suggests something is wrong with the user directory. Here is the ls -h /home output:  drwxr-xr-x 26 oli      oli      4096 2012-01-19 17:19 oli drwxr-xr-x  3 bob      bob      4096 2012-05-09 14:11 bob I am very new to LaTeX and I am writing my thesis. In a chapter, I want to show my codes, which are in Mathematica.   I use the listings package as follows:  \documentclass{article}   \usepackage{listings}   \begin{document}   \lstset{language=Mathematica}    \begin{lstlisting}   Do[i^j,{i,1,10},{j,1,10}]   \end{lstlisting}    \end{document}   However, the output is much different to what the code looks like in the Mathematica IDE (even if I use other languages in \lstset{language=&lt;name&gt;}):    I read some questions on the site but, in some of them, the font or color of the codes were not the same. Could you please help me to display something like the picture below in LaTeX?  If it is important, I am using the BiDi package. How do you find the transfer function of a controller? Below is a block diagram of the system. I thought the circle symbol with the plus and minus sign was an op-amp but I'm not sure whether that's the case. I want to find the closed loop transfer function. If there was no feedback (open loop), then I think I could find the output as Y(s) = Vin*G. This would mean that the transfer function is Y(s)/Vin = G.  Any ideas for how to find the closed loop transfer function and what the circle means? My technophobe mother returned from a European trip to discover she'd erased all but 15 images from a nearly full 2GB card. As I am the computer guy in the family, she posted the card to me and asked that I make something magical happen.  The photos were taken with and deleted by a Nikon Coolpix. (I don't know the model.)  I am a Linux guy, but there is a Windows Vista box at my disposal.  What is my best strategy to try to recover something? Inequality involving Euler-Mascheroni constant I would like to solve the following problem from 'Real Analysis and Foundations' by S. Krantz.  Let $a_n = 1+\frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{n} - \log{n}$ and $\gamma$ be the Euler-Mascheroni constant. Show that $$\vert a_n - \gamma \vert \le \frac{C}{n}$$ for some universal constant $C&gt;0$.  I have no clue how to solve this problem. From searching various sites it seems that $C=\frac{1}{2}$ but I am not sure with this, too. Thanks in advance. My Developer Account cannot be activated because I used a relative's credit card SBS 2011 - Is Store.exe High Memory Usage Normal? Why don't websites immediately display their text these days? I've noticed that recently many websites are slow to display their text. Usually, the background, images and so on are going to be loaded, but no text. After some time the text starts appearing here and there (not always all of it at the same time).  It basically works the opposite as it used to, when the text was displayed first, then the images and the rest was loading afterwards. What new technology is creating this issue? Any idea?  Note that I'm on a slow connection, which probably accentuates the problem.  See below for an example - everything's loaded but it takes a few more seconds before the text is finally displayed: List the files accessed by a program time is a brilliant command if you want to figure out how much CPU time a given command takes.  I am looking for something similar that can list the files being accessed by a program and its children. Either in real time or as a report afterwards.  Currently I use:  #!/bin/bash  strace -ff -e trace=file "$@" 2&gt;&amp;1 | perl -ne 's/^[^"]+"(([^\\"]|\\[\\"nt])*)".*/$1/ &amp;&amp; print'   but its fails if the command to run involves sudo. It is not very intelligent (it would be nice if it could only list files existing or that had permission problems or group them into files that are read and files that are written). Also strace is slow, so it would be good with a faster choice. Short expression to convey "but consider the source" Could you please correct my batch command?   I had 100 img images which need to be converted into 8 unsigned bit format for further use in TIMESAT.   mkdir test for %%f in (*.img) do gdal_translate -of ENVI -scale -1 1 1 255 -a_nodata 0 -co INTERLEAVE=BSQ "%%f" test/%%f.dat creating a diagonal matrix with a variable amount of parameters What are the ways to solve cubic equations? Cubic equations of the form $ax^3+bx^2+cx+d$ can be solved in various ways. Some are easy to easy to factor in a pair, for some the roots can be found out by trial-and-error, some are one-of-a-kind, some can be reduced to a quadratic equation. A compilation of all possible ways to solve cubic equations would be very helpful for students and learners. Tight bound for $T(n) = T(n^{1/2}) + 1$ What's the terminal command for finding out a process's id I want to exit a process using the command line, but I can't recall the command to look up the process's ID.  Does anyone know it? Prove the map sending a matrix to it's inverse is continuous. Let $GL(n,\mathbb{R})$ be the space of invertible $n \times n$ matrices over $\mathbb{R}$. I have already proved that $GL(n,\mathbb{R})$ is open in $\mathbb{R}^{n^2}$ and that it is not connected with the relative topology from $\mathbb{R}^{n^2}$. How do I prove that the map $f:GL(n,\mathbb{R})\rightarrow GL(n,\mathbb{R})$ given by $f(x):=x^{-1}$ is continuous?  Any help would be greatly apprecaited.   Additionally how do I prove that $g:GL(n,\mathbb{R})\times GL(n,\mathbb{R}) \rightarrow GL(n,\mathbb{R})$ given by $g(x,y):=xy$ (matrix multiplication) is continuous, where we take the relative topology from $\mathbb{R}^{n^2} \times \mathbb{R}^{n^2} \cong \mathbb{R}^{2n^2}$?