Results 1 to 5 of 5

Thread: Formated a drive and now can't access it.

  1. #1
    Join Date
    May 2007
    Location
    N40'10'36,29" W8'04'38,88
    Beans
    281
    Distro
    Ubuntu 13.04 Raring Ringtail

    Formated a drive and now can't access it.

    Hi

    I have just used Gparted to format a spare hard drive so i can use it for data storage. When i try to drag a folder i get a message " The folder cannot be copied because you do not have permission to create it in the destination "

    I have gone into Properties on the Data drive and in the Permission Tab " The permissions of and a load of numbers could not be determined "

    Thanks for taking the time to read my Post

    Peter

  2. #2
    Join Date
    Jul 2005
    Beans
    2,047

    Re: Formated a drive and now can't access it.

    You probably do need to set permissions on the partition so your regular user can access it.

    You can do this from a Nautilus folder I'm pretty sure - but I always do it from a terminal:

    Code:
    sudo chown -R YOURNAME:YOURGROUP /media/YOURPARTITION/*
    (YOURNAME AND YOURGROUP may be the same, as Ubuntu makes a group for each user; for a single user they are probably the same, in a shared environment they wouldn't be the same.)

    Once you (not root) owns the root of the partition, you may also need to set read/write privileges:

    Code:
    chmod -R 755 /media/YOURPARTITION/*
    which gives you read-write on it and everyone else read and execute only. If you're the only user, you could do 777 instead so any user could write to it as well, probably doesn't matter. On some computers there are guest users so you may want to modify accordingly.

  3. #3
    Join Date
    May 2007
    Location
    N40'10'36,29" W8'04'38,88
    Beans
    281
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Formated a drive and now can't access it.

    Hi

    Thanks Ahallubuntu

    I presume that Username and Yourgroup is the same but how do i find YOURPRITION name.

    I tried sudo chown -R petereter /media/peter/* and gt a message. Cannot access /media/peter/* no such file or directory
    peter@peter-dimension-2400:~$

    Thanks for your patience in helping me Ubuntu is hard work at my age but i try before i ask for help. This is one i can't figure out.

    Peter

  4. #4
    Join Date
    Mar 2007
    Beans
    676
    Distro
    Ubuntu Development Release

    Re: Formated a drive and now can't access it.

    Quote Originally Posted by Peterfc View Post
    Hi

    Thanks Ahallubuntu

    I presume that Username and Yourgroup is the same but how do i find YOURPRITION name.

    I tried sudo chown -R petereter /media/peter/* and gt a message. Cannot access /media/peter/* no such file or directory
    peter@peter-dimension-2400:~$

    Thanks for your patience in helping me Ubuntu is hard work at my age but i try before i ask for help. This is one i can't figure out.

    Peter
    In a terminal type:

    cd /media
    ls -la

    That will list the partitions that are mounted under /media in your Ubuntu install.

    If you recognize one of the listed partitions as the one you want, use that in the instructions above.

    If not, open Gparted and see if the new partition is mounted. If it is, it will have a key beside it in the list. The "mount point" will be listed as well - that's what you call it for the chown command.

    If the new partition is NOT mounted, it will be identified only as "sdc1", if it's the only partition on the drive called sdc, for instance. Then you need to mount it before you can chown. Type:

    sudo mount /dev/sdc1 /media/peter

    for instance, if you want to call it peter.

    Then you can go on with

    chown USR:USRGRP /media/peter

    chmod 755 /media/peter

    Hope that helps
    Sony vaio vgn-fw235j; Synaptics touchpad; triple boot: mint 12 64-bit; Precise 64-bit & Saucy 64-bit. 2TB external USB drive with more...

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Formated a drive and now can't access it.

    How did you format the partition in your spare hard drive? And how did you mount it?

    Please post the output of the commands
    Code:
    sudo fdisk -lu
    and
    Code:
    df

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
  •