Consider this example. I download a tar.gz file from the internet and open the contents of that file into a directory. Let's say I choose to remove the directory. Unfortunately, I do not have permission to delete the directory. What do I do? I get an error message that I don't have permission to remove this directory.
~$ cd /home/amathew ~$ sudo tar xzf hadoop-0.20.2.tar.gz ~$ sudo mv hadoop-0.20.2 hadoop ~$ sudo chown -R hadoop:hadoop hadoop
Thanks in advance.
~$ lsattr -RVadlv hadoop lsattr 1.41.12 (17-May-2010) 2903294105 hadoop Extents