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?


1 Answer 1


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.

  • 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, 2013 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, 2013 at 2:41
  • how do i access this other root, which command please? besides cd .. up from /var i mean
    – cea
    Dec 14, 2013 at 2:42
  • Use cd / to access the / directory.
    – casey
    Dec 14, 2013 at 2:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .