Find the answer to your Linux question:
Results 1 to 8 of 8
On Mageia 1 if I open the file manager to view a different partition of Mandriva in this case ,the home directory is owned by root (according to the file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Auto-mount , I presume works for root user only.


    On Mageia 1 if I open the file manager to view a different partition of Mandriva in this case ,the home directory is owned by root (according to the file permissions) so I can't easily view my documents from this O.S. Fedora partitions on the same drive are not like this. Is there a easy fix so I don't have to unmount and then put in the long partition file name in the terminal?

    Thanks in advance!
    Presently into Rpm based Distros as in ,Mageia ,Fedora CentOS and Scientific.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Hi,

    There is probably a way to do what you want. Can you first post your partition table layout, and include what filesystems belong to which OS?

    For starters, this will help:
    Code:
    fdisk -l
    the contents of the /etc/fstab files might be useful, too.

  3. #3
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Thanks for the reply!

    etc/fstab-

    # Entry for /dev/sdb6 :
    UUID=4b096960-1e50-40f3-85d0-ae3a3841df62 / ext3 acl,relatime 1 1
    /dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
    # Entry for /dev/sda1 :
    UUID=4224AAB524AAAB7D /media/windows ntfs-3g defaults,umask=000 0 0
    none /proc proc defaults 0 0
    # Entry for /dev/sda6 :
    UUID=56a5e988-5d2d-448d-8775-e52df3855839 swap swap defaults 0 0
    # Entry for /dev/sdb5 :
    UUID=16f83f3d-8466-4f26-a922-47daf3ae79ea swap swap defaults 0 0


    fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x4f234f23

    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 40965749 20482843+ 7 HPFS/NTFS
    /dev/sda2 40966144 129030143 44032000 83 Linux
    /dev/sda3 129030144 219142143 45056000 83 Linux
    /dev/sda4 219142144 312580095 46718976 5 Extended
    /dev/sda5 219144192 309256191 45056000 83 Linux
    /dev/sda6 309258240 312580095 1660928 82 Linux swap / Solaris

    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000d3a7b

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 63 117194174 58597056 83 Linux
    /dev/sdb2 117194175 230468489 56637157+ 83 Linux
    /dev/sdb3 230469632 232517631 1024000 83 Linux
    /dev/sdb4 232517632 976773119 372127744 5 Extended
    /dev/sdb5 232519680 234567679 1024000 82 Linux swap / Solaris
    /dev/sdb6 234569728 353353727 59392000 83 Linux
    Presently into Rpm based Distros as in ,Mageia ,Fedora CentOS and Scientific.

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    ok, you've got two drives (sda and sdb). I assume Mageia is on one and Fedora is on the other? Which is which? Also, you only showed the /etc/fstab from one machine.

    So the problem is when you are in Mageia and you launch the file explorer, you browse to a directory that is a Fedora filesystem, and is read-only, is that right?

    On the Mageia box, can you show the output of "df"?

    Also, what is the path to the Fedora partition you are trying to access? If you're not sure, describe how you click to access it within the file explorer.

  5. #5
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    Thanks for the Reply!

    Actually Mageia will not open the home directory of Mandriva because the file manager states that it is owned by root by Megia's file manager. Mandriva/Mageia don't seem to want to open the others home directory without the booted O.S being logged in as root but Mandriva/Mageia will open up Fedora's Home directory with out issue.
    Presently into Rpm based Distros as in ,Mageia ,Fedora CentOS and Scientific.

  6. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by theKbStockpiler View Post
    Actually Mageia will not open the home directory of Mandriva because the file manager states that it is owned by root by Megia's file manager. Mandriva/Mageia don't seem to want to open the others home directory without the booted O.S being logged in as root but Mandriva/Mageia will open up Fedora's Home directory with out issue.
    so you have a triple-boot setup? Mandriva, Mageia, and Fedora?

    ok, how about open nautilus on M/M using sudo (as root)? i don't know your file manager, but say it is nautilus, you could have a sudo entry on Mageia like:

    Code:
    someuser ALL = (root) NOPASSWD: /usr/bin/nautilus
    Then someuser could do
    Code:
    sudo /usr/bin/nautilus /path/to/Mandriva/root

  7. #7
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    211

    I just discovered that...

    The Icons that Gnome 2 puts on the desktop does indeed include one that is labeled 'New Volume' that is infact the the other mandrake fork install partition and it does allow a non root user to open the home directory. I thought 'New Volume' was my usb drive. If you use the menus to open it or the 'computer' icon Mageia/ Mandriva will not allow you to open the home directory of the other.

    Thanks for the help though and the tips on the commands!
    Presently into Rpm based Distros as in ,Mageia ,Fedora CentOS and Scientific.

  8. #8
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by theKbStockpiler View Post
    The Icons that Gnome 2 puts on the desktop does indeed include one that is labeled 'New Volume' that is infact the the other mandrake fork install partition and it does allow a non root user to open the home directory. I thought 'New Volume' was my usb drive. If you use the menus to open it or the 'computer' icon Mageia/ Mandriva will not allow you to open the home directory of the other.
    Hey, glad it is sorted. It is better to do it the way you discovered than via my (or some other) hacky way. Thanks for posting back. I'll go ahead and mark this as Solved.

    If you still have issues, feel free to start a new thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •