Results 1 to 4 of 4

Thread: Change permissions of a new partition(ext4)?

  1. #1
    Join Date
    Mar 2013
    Beans
    3

    Change permissions of a new partition(ext4)?

    Basically I've created a new partition in Gparted however it is root access only and there is no easy way(GUI) to change the permission.
    There was a thread on here, that I found a through google has a terminal command to fix the problem however, I don't understand how to edit the cmd to fit my system.

    Heres the link http://ubuntuforums.org/showthread.php?t=1137537

    -"sudo chown -R username:username /partition/mountpoint"
    Heres What I though would work
    username = hootis
    mount = /media
    partition /dev/sdc5 (it is an extended logical partiton if that make a difference)
    sudo chwon -R hootis:hootis /dev/sdc5/media but it says that that location dose not exist

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    8,587
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Change permissions of a new partition(ext4)?

    Code:
    cd /media
    sudo mkdir temporarydirectorythatIwilldeletelater
    sudo mount /dev/sdc5 temporarydirectorythatIwilldeletelater
    sudo chown -R hootis:hootis /media/temporarydirectorythatIwilldeletelater
    sudo umount temporarydirectorythatIwilldeletelater
    sudo rmdir temporarydirectorythatIwilldeletelater
    Now go into Nautilus "Places" and you should see a disk. Double click it and it should mount and display your files.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    7,529
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Change permissions of a new partition(ext4)?

    hootis; Hi !

    Permissions are changed at the file system level, not on the devices (sdc5 = extended partition as a device);
    You want to change the permissions on the directories that are contained in logical partitions contained in that extended partition.

    To help us help you, post the output of terminal code:
    Code:
    sudo fdisk -lu
    See tgalati4's last post.
    further advise pending

  4. #4
    Join Date
    Mar 2013
    Beans
    3

    Re: Change permissions of a new partition(ext4)?

    That seems like it did the trick, Thanks A Bunch

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
  •