<span class="gmail_quote">On 1/25/08, <b class="gmail_sendername">Rajat</b> <<a href="mailto:a.rajat@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">a.rajat@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<br>For some reason I am not able to remove any files from /opt directory. It says permission denied. Also chmod doesn't wanna work <br><br>For super user access i typed in su but the password - the same admin password with which I install\mount\login doesn't work ! <br>
<br></blockquote><br>You mean your situation is something like:<br><br>(Suppose  you have a file owned by root:root in /opt)<br><br>root@box:~# touch /opt/aaa<br>root@box:~# ls -l /opt<br>-rw-r--r-- 1 root        root           0 2008-01-25 15:45 aaa<br>
<br>Then as a regular user you'd try:<br><br>user1@box:~$ rm /opt/aaa<br>rm: remove write-protected regular empty file `/opt/aaa'? y<br>rm: cannot remove `/opt/aaa': Permission denied<br>user1@box:~$ sudo rm /opt/aaa<br>
 [sudo] password for user1: #enter password here<br><br>...Now the file will be removed. Just make sure you're not removing something your system needs ;-)<br>