In a listing, "." is the current directory, and ".." is one up.
For example, if you are in /home/fred, and you want to be in /home, you type "cd .." To go up 2 levels" "cd ../.." To go across to /home/mary: "cd ../mary"
"cd ." of course does nothing.
Sooo--to change permissions for "." and "..", simply change the actual directories to which they refer.
The only practical use for "." that I have seen is the "execute here" construct "./program", which tells the system to execute "program" in this directory--don't go looking in $PATH.
|