Results 1 to 6 of 6

Thread: File System from the root

  1. #1
    Join Date
    May 2012
    Beans
    7

    File System from the root

    I used Thunar file system on Linux Mint and one of the features I got used to was the ability to open a File from the root.

    In Ubuntu Studio the File Manager does not have that feature.

    I tried to learn what File Manger is used in Ubuntu Studio and apparently it is Thunar.

    Question:

    Does anyone know how to open a File from the root using the default File Manager in Ubuntu Studio?

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,108

    Re: File System from the root

    What do you mean by root?

    1. the root file system /
    2. the superuser id 'root'

  3. #3
    Join Date
    May 2012
    Beans
    7

    Re: File System from the root

    Thank you for the reply.

    When i was using Linux Mint and I wanted to file manage I would open up the default Thunar File Manager.

    A lot of my files in my external storage disk are locked.

    So if I wanted to unlock a file to open, move or copy I had two choices:

    1) Terminal command sudo su chmod a+rwx

    2) open up a File Manager and right click a file on the left side panel and click "open as root".

    I do not know whether it was as a "root" or superuser.

    I just know that I could open, move or copy files easier than using the chmod command.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,108

    Re: File System from the root

    I see: that means to run thunar with the user id root.

    You can do that with the terminal command

    Code:
    gksudo thunar
    but it is not recommended. This way, Thunar will be very powerful, and you can easily damage your file system for example remove a lot of files or change a lot of permissions by mistake.

    Instead I suggest that you check what file system is used on your external disk. If it is a windows file system, FAT32 or NTFS, the permissions will be set when the drive is mounted, not individually for each file/folder as with linux file systems. So it is an alternative to change how you mount the drive (change the permissions). If you are not sure about the file system, please post the output of the following command
    Code:
    sudo blkid
    in a reply.

  5. #5
    Join Date
    Sep 2008
    Location
    Italy
    Beans
    89
    Distro
    Ubuntu Studio 12.10 Quantal Quetzal

    Re: File System from the root

    you mean when right-clicking on a folder there is an option to open the folder as root. it prompts for password then opens it as root. Very useful, yes.

    There is a nautilus extension which will give you the same functionality
    http://www.hecticgeek.com/2012/12/us...nsions-ubuntu/

  6. #6
    Join Date
    Mar 2008
    Location
    Connecticut, USA
    Beans
    17
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: File System from the root

    By default, Ubuntu Studio uses Nautilus for the file manager, not Thunar, despite using XFCE as the desktop environment. I personally prefer Thunar, and it's easy to switch back to it: go to Menu > Settings Manager > Preferred Applications, select the Utilities tab, and under File Manager select Thunar from the drop down list. Now when you go to the menu and click on File Manager, you have Thunar instead of Nautilus.

    For the open as root thing: Mint XFCE comes with several so-called "custom actions" preconfigured in Thunar, of which the "Open as root" option is one. To create the open as root custom action in Ubuntu Studio (or Xubuntu) do the following:

    1. Open Thunar and go to Edit > Configure Custom Actions.

    2. Click the plus icon to add a new action. A dialog box will open up entitled "Create Action".

    3. Under the Basic tab, enter the following:
    Name: Open as root
    Description: Open folder as root user
    Command: gksu Thunar %F

    4. Under the Appearance Conditions tab, do the following:
    Ensure that under "File Pattern" the field contains an asterisk (in other words "File Pattern: *"). It should appear by default, but put it in if it does not.
    Uncheck the "Text Files" box.
    Check the "Directories" box.

    5. Finally, click the OK button at the bottom and the "Open as root" custom action will be saved and you should be good to go.

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
  •