Results 1 to 4 of 4

Thread: Nautilus file browser as root

  1. #1
    Join Date
    Oct 2009
    Posts
    67

    Nautilus file browser as root

    Hi friends
    A few days before I was a user of windows. Now I have switched to linux and I am using ubuntu linux. I am not quite familiar with the operating system yet. I read some documentation and some books on ubuntu linux. Sounds very interesting and I have decided to use this operating system from now. I had a simple question in my mind. I want to copy files to some location using the nautilus file browser rather than terminal. The nautilus file browser does not allow me to copy or past in that location because I am not the root user, I mean I do not have the root user permissions. Is there any way to do this task using nautilus file browser or it can be just done only from the terminal. Any advice or suggestion will be appreciated. Thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    4,570

    Re: Nautilus file browser as root

    Hi
    It is too simple just open the terminal and issue the following command.
    Code:
    gksudo nautilus
    This will open the nautilus file browser with root user permissions. If you want to copy the file to a specific location the follow the two steps.
    1) You can simply drag and drop the files that have root permissions enabled. For this effective to work open the terminal and issue the above command once again and get the second instance of the nautilus as a root. Then you can just drag and drop files from one instance of the browser to the other instance of the browser with no time and without the using terminal.
    2) you have the full rights to change the permission of any folder or file. Just right click on the folder and you will get a option menu. From there select the permissions tab adn check for whatever you feel necessary. If you are the only person using the computer then you can check them all if not select as you need them to be. Be careful do not change the permissions on the system files like root and usr. If you do that then everyone can access those folders and files.

  3. #3
    Join Date
    May 2008
    Posts
    4,345

    Re: Nautilus file browser as root

    Hello
    I like the above method but if you want permanently the nautilus file browser in your gnome menu the you can do the following
    1) Issue the following command and make a .desktop file with the name Nautilus-root
    Code:
    gksudo gedit /usr/share/applications/Nautilus-root.desktop
    2) Now insert the following lines int he files
    [Desktop Entry]
    Name=File Browser (Root)
    Comment=Browse the filesystem with the file manager
    Exec=gksudo "nautilus --browser %U"
    Icon=file-manager
    Terminal=false
    Type=Application
    Categories=Application;System;
    3) Now go Applications -> System Tools -> File Browser (Root)
    Note that this function can be handy when you are alone the user of the whole system. If many users are using the system then I will not recommend this to you.

  4. #4
    Join Date
    May 2008
    Posts
    3,316

    Re: Nautilus file browser as root

    Hi
    Both the above posted methods are good but you can have one more option, that is you can install an additional package named nautilus-gksu and it will enable an option to be a root user when you right click on a file or directory. After it is been installed you gnome will restart and your nautilus file browser will have the newly installed feature available to use. Any more queries you can post and feel free to post, your problems will be solved.

Similar Threads

  1. How to make nautilus queue up the file operations in Ubuntu?
    By Raj Desai in forum Operating Systems
    Replies: 5
    Last Post: 07-02-2012, 06:51 PM
  2. I cannot mount the root file system
    By Chaaruchandra in forum Operating Systems
    Replies: 5
    Last Post: 02-06-2011, 11:26 PM
  3. Replies: 5
    Last Post: 07-06-2010, 10:47 PM
  4. Missing file <Windows root>\system32\ntoskrnl.exe.
    By Derek in forum Windows XP Support
    Replies: 2
    Last Post: 08-04-2008, 11:40 PM
  5. Replies: 3
    Last Post: 13-10-2007, 06:16 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,721,918.37844 seconds with 17 queries