Nautilus with Sudo (checking Output) - 2

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Thu Jul 28 17:54:08 UTC 2005


On Thu, 2005-07-28 at 17:57 +0200, René L. Reingard wrote:
> Hello
> i would like to question that again.
> René
> 
Okay, Nautilus is not a mere simple applications that need to be "just
launched" to work!  It depends on a lot of other things to function
properly (like "gnome-session", "gnome-vfs-daemon", "gnome-keyring", and
"ORBit" to name some) and they all need to run before Nautilus and with
the same user as the who runs Nautilus.  In other words, you need to
start the whole GNOME desktop for that user (in this case we mean
"root").

Best thing is not to run such big application with "sudo" and try doing
all your work from a terminal using "cp", "mv", and "rm".

If you really want to do a lot of things using "root" privileges, then
you might want to re-think about what you're doing!  For example, if you
need to copy some files to a directory that only "root" have permission
for that, a better solution would be to change the permission to allow a
normal user (you) to do that with "sudo chown user /path/to/directory"
and do what you want using Nautilus.  After that, you change the
permission back to what it was before.

Ziyad.




More information about the ubuntu-users mailing list