PDA

View Full Version : [SOLVED] file deletion help!



phillychease
November 27th, 2009, 06:09 AM
i have a file in /opt and i cant delete it.
there is no option saying to move to trash
and if i physically move it to the trash nothing happens.
how do i delete the file??

thanks! :D:D

SmittyJensen
November 27th, 2009, 06:17 AM
i have a file in /opt and i cant delete it.
there is no option saying to move to trash
and if i physically move it to the trash nothing happens.
how do i delete the file??

thanks! :D:D
You need administrator privileges.

Try running:


gksudo nautilus

in a terminal and then delete the file from there.

chinmaya_n
November 27th, 2009, 06:25 AM
You just have privileges under /home/<username> only !
Though you are the only user in your system, the root user i.e super user or admin is locked for security purposes.....
But you can always run your admin tasks using gksu or gksudo or sudo using before your command!

And sudo just works in terminal as it is a command line utility!
gksu and gksudo are GUI utilities ..... You can test to know the difference :popcorn:

Yaa.. Nautilus is the file manager in UBUNTU! You can always run admin tasks through GUI by doing as SmittyJensen said !

phillychease
November 27th, 2009, 08:19 AM
thank you SmittyJensen! it works :)