Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a tmp folder in /var and it has the file channel.xml in it.

I don't know what this is and if it should be there and what permissions it should have because at the moment it is wide open.

Also what is the folder above /var called please?

share|improve this question
Take a look at this tutorial to get yourself familiar with Linux: techradar.com/us/news/software/operating-systems/… – slm Dec 14 '13 at 3:46
up vote 4 down vote accepted

The directory /var/tmp should have permissions rwxrwxrwt, which allow anyone to change to this directory, create and read files in this directory and write/rename/delete files they own (this last restriction is caused by the t in the permissions, which is the "sticky bit").

The file you see in there is a temporary file created by something on your system. You can look at its ownership or try and see what process has it open to get a clue as to what wrote it. The XML schema in the top of the file may also help out with that.

The folder above /var is /, also know as the root directory.

share|improve this answer
But when I command cd ~/ I get my root which looks nothing like when I go one up from /var with cd .. – cea Dec 14 '13 at 2:39
The directory ~ is your users home directory, which is /home/<username> for normal users or /root for the superuser. – casey Dec 14 '13 at 2:41
how do i access this other root, which command please? besides cd .. up from /var i mean – cea Dec 14 '13 at 2:42
Use cd / to access the / directory. – casey Dec 14 '13 at 2:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.