PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 07:16:25 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: *** SOLVED *** Hard Drive Permissions - access denied  (Read 170 times)
Hondo
Full Member
***
Offline Offline

Posts: 172


What if it is a Samsquamch?


WWW
« on: February 09, 2012, 10: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 -
Logged
Hondo
Full Member
***
Offline Offline

Posts: 172


What if it is a Samsquamch?


WWW
« Reply #1 on: February 09, 2012, 10: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.
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5699


I don't do Windows


« Reply #2 on: February 09, 2012, 10: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?
Logged

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
Hondo
Full Member
***
Offline Offline

Posts: 172


What if it is a Samsquamch?


WWW
« Reply #3 on: February 09, 2012, 10: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.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM