Author Topic: <Solved>Changing Hard Drive Owenership - Permision  (Read 1115 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
<Solved>Changing Hard Drive Owenership - Permision
« on: March 05, 2010, 04:34:56 PM »
I installed a second hard drive for storage. I would like to change permissions so any user can write to it. I tried the GUI route by opening properties as root and giving every one permission but it didn't work. Guessing "chmod" is what I need but not sure of the correct commands.

Just to be clear my problem is when user drags a file to the HD they get permission denied. HD is formatted as a single EXT3 partition.

I know this must have been asked many times before but I just couldn't find the answer. Thank you in advance.
« Last Edit: March 05, 2010, 06:35:16 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline thorper

  • Hero Member
  • *****
  • Posts: 851
  • Linux Counter #490490
Re: Changing Hard Drive Owenership - Permision
« Reply #1 on: March 05, 2010, 05:05:30 PM »
I've just looked up the command in my Linux book and it gives the following command:-

chmod -R 777 *.*

I think this will give everyone read, write & execute privileges. Check man chmod from terminal
Too many cops, too few donuts.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3992
Re: Changing Hard Drive Owenership - Permision
« Reply #2 on: March 05, 2010, 05:08:57 PM »
"chmod 777 /Mountpoint" where /Mountpoint is where it's mounted. If you already have a directory structure there the -R option will apply it to all levels.

However, if a root file manager didn't work you need to check a couple of other points:

1. Make sure the drive gets mounted read-write. No amount of permission will enable you to write to a read-only file system.

2. Make sure msec (PCC security section) isn't set up to change the permissions back to default every hour. If it is you'll have change the permissions there as well.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
Re: Changing Hard Drive Owenership - Permision
« Reply #3 on: March 05, 2010, 05:53:09 PM »
Thank you. I have it mounted according to the GUI but when I run "cat" I don't see it in etc/fstab. So does that mean I need to add it or is the mount point somewhere else?  My other drives are there.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11587
  • ----IOFLU----
Re: Changing Hard Drive Owenership - Permision
« Reply #4 on: March 05, 2010, 05:57:01 PM »
Thank you. I have it mounted according to the GUI but when I run "cat" I don't see it in etc/fstab. So does that mean I need to add it or is the mount point somewhere else?  My other drives are there.

If there is no fstab line, it's mounted somewhere in /media.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
Re: Changing Hard Drive Owenership - Permision
« Reply #5 on: March 05, 2010, 06:39:14 PM »
If there is no fstab line, it's mounted somewhere in /media.
That was where it was hiding. I now have permission. Time to start backing up files for the 2010 event. Thank you all very much.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb