View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#24
+x will suffice, a+x is just 'all'+x, i.e. user/group/other execute bits. It doesn't matter, as there are only two users: Root and user.
(there's +x, u+x, g+x, ug+x o+x, and ugo+x (which is the same as a+x. +x is the same as u+x.) You can see what's set with 'ls -l filename'

I hoped that perhaps it acquired the full path during backup and so would place it back in the correct place.
That would have worked with the old SysV tar program (as found on some Unix systems), but GNU tar as well as the NIT busybox tar will strip off the leading '/' character, if you specify one. Thus, you can't store absolute paths in the tar file (this is meant to be a security feature).
Example:
Code:
$ tar cvf etc.tar /etc/hosts
tar: Removing leading `/' from member names
/etc/hosts
$ tar tvf etc.tar
-rw-r--r-- root/root      1081 2008-04-30 13:35 etc/hosts
$
As you can see it stores "etc/hosts" and not "/etc/hosts" in the tar file. Thus, tar xvf etc.tar would create the etc/hosts directory/file in the directory I happen to be in, it wouldn't restore it to /etc/hosts (unless I did a 'cd /' before tar xvf)

load-applet-run is an applet I found for my OS2007 setup, I believe it used to be available for OS2008 as well.. but I can't find it anymore. Only old versions.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post: