Author Topic: *** SOLVED *** Hard Drive Permissions - access denied  (Read 567 times)

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
*** SOLVED *** Hard Drive Permissions - access denied
« on: February 09, 2012, 08:04:15 AM »
I had some issues that were just solved by the help of some great members here, but now I have another problem.

When I was having problems logging into my normal user account, I had to access the system logged in as root.

While I was in there I installed a new SATA hard drive (ect4) to be used as backup storage.

I cannot change/delet any of those files now when logged in as a normal user, so I am thinking that I have a permissions problem.

How can I change those permissions?

Thanks -
« Last Edit: February 09, 2012, 08:23:47 AM by Hondo »

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: Hard Drive Permissions - access denied
« Reply #1 on: February 09, 2012, 08:11:32 AM »
I tried logging in as root and adding my normal user in the advanced permission for the "StorageDrive" folder (which is actually the hard drive but when I log in as a regular user I still cannot change anything in that folder.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Hard Drive Permissions - access denied
« Reply #2 on: February 09, 2012, 08:16:23 AM »
Probably just an ownership issue. Find the mount point of the drive. Let's say it is /mnt/storage. Open a terminal and su to root. Then do chown -Rv hondo:hondo /mnt/storage. Of course, you'll need to change hondo:hondo to whatever your username is, and /mnt/storage to whatever the mount point of the storage partition is.

You can do the same thing in a GUI if you can use your file manager as user root. Just right-click on the mount point and change the owner to your regular user. Be sure you also choose to do this recursively (all subfolders).

One other thing. Can you post the fstab entry for that partition?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: Hard Drive Permissions - access denied
« Reply #3 on: February 09, 2012, 08:23:15 AM »
Thanks- I found a solution through a search, and ran this -

chown -R hondo:hondo /StorageDrive

Now I can modify the contents of the drive & it's folders/files.

Thanks again -

SOLVED.