Find the answer to your Linux question:
Results 1 to 2 of 2
I've added and successfully formatted a second internal hdd in my system. The second, backup drive is being recognized as dev/sbd1 and I can mount it. (I only wish to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Posts
    4

    Access denied to new hdd - chmod?


    I've added and successfully formatted a second internal hdd in my system. The second, backup drive is being recognized as dev/sbd1 and I can mount it. (I only wish to use this second hdd for additional backup purposes)

    I cannot however access the second drive. I cannot save anything to the drive either and will be prompted with: [Access denied - Could not write to /media/BACKUP/filenmae.odt]

    I have labeled the second hdd as: BACKUP.

    I formatted the second backup hdd with Parted Magic with ext4 if that means anything.

    Any assistance with this issue would be immensely appreciated -- I've spent a good deal of time attempting to rectify before posting!

  2. #2
    Just Joined! charleseddy's Avatar
    Join Date
    Mar 2012
    Location
    France
    Posts
    27
    Yes you will need to either chmod or chown it.

    Code:
    chmod -R 774 /media/BACKUP
    And if you want to become owner:

    Code:
    chown -R username /media/BACKUP
    The -R makes it recursive and applies it to all files and subdirectories. The 774 is to limit the permissions of other users. You can look at a tutorial to find out how this works.

Posting Permissions

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