Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help claiming ownership of hard drive
New Posts  All Forums:Forum Nav:

Help claiming ownership of hard drive - Page 2

post #11 of 15
Quote:
Originally Posted by The Hundred Gunner View Post

It looks like the link you gave shows (almost) exactly the command Shrak gave:
Code:
sudo chown -R username:username /partition/mount-point

This command says to change ownership of your mount-point to you (username.) And the "username" after the colon is actually your group (there can be a group with the same name as your username, which I think is your default group.) And the -R basically means "and all directories underneath."

Yup thumb.gif

The only difference with mine excluding the group after the ":" is it will then use the default group for that user ( in case it was changed for whatever reason ), so it tends to be more free then trying to define a group in case the group in question isn't the right group for whatever reason.
Quote:
Originally Posted by tom.slick View Post

why not take the guess work out
Code:
cd /path/to/mount/point  # cd /media/storage  for example
sudo chown -R $USER:$GROUP .

You still have to know how to do it to use the script. So the "guess work" is still there. That and yours changes a single command to two commands which is technically more work. No need to change directory when you can simply specify it at the end of the change ownership command.
post #12 of 15
Thread Starter 
One more quick question if you all don't mind. I'm attempting to install catalyst 14.4, and have been following these steps http://linuxg.net/how-to-install-amd-catalyst-14-4-rc-on-linux-systems/

I got to the part where the page says to kill the display manager. I used
Code:
$ sudo /etc/init.d/lightdm stop

Which made my monitors go black, then my PC after ten seconds promptly restarted itself. So I tried skipping that step and attempted to run the catalyst installer. I ended up with it telling me to remove the current xglrx drivers first. I attempted it with
Code:
sudo sh /usr/share/ati/fglrx-uninstall.sh

to no prevail. Any pointers?
Alienware 15
(11 items)
 
  
CPUGraphicsRAMHard Drive
i7-4710HQ GTX 970M 3GB 16GB 256GB M.2 SSD 
Hard DriveHard DriveOSOS
250GB m.2 SSD 1TB HDD Fedora 23 Windows 10 
MonitorKeyboardMouse
4k IPS Corsair K95 Corsair K65 
  hide details  
Reply
Alienware 15
(11 items)
 
  
CPUGraphicsRAMHard Drive
i7-4710HQ GTX 970M 3GB 16GB 256GB M.2 SSD 
Hard DriveHard DriveOSOS
250GB m.2 SSD 1TB HDD Fedora 23 Windows 10 
MonitorKeyboardMouse
4k IPS Corsair K95 Corsair K65 
  hide details  
Reply
post #13 of 15
Quote:
Originally Posted by LordOfTots View Post

Does that just give my user/group all around permissions for read/write?

In most shells, a dot means "this directory." Two dots means "the parent of this directory." And anything that starts with a $ is an environment variable. If you want to see what an environment variable is set to, use:
Code:
echo $variable

So by default, the $USER variable is set to your user name, and I guess $GROUP is set to your group name in Linux (I haven't used them before, and $GROUP doesn't seem to be set in OSX.) So the command that tom.slick gave says, "use root privileges and change the owner of this directory and anything underneath it to me and my user group."
Quote:
Originally Posted by LordOfTots View Post

One more quick question if you all don't mind. I'm attempting to install catalyst 14.4, and have been following these steps http://linuxg.net/how-to-install-amd-catalyst-14-4-rc-on-linux-systems/

I got to the part where the page says to kill the display manager. I used
Code:
$ sudo /etc/init.d/lightdm stop

Which made my monitors go black, then my PC after ten seconds promptly restarted itself. So I tried skipping that step and attempted to run the catalyst installer. I ended up with it telling me to remove the current xglrx drivers first. I attempted it with
Code:
sudo sh /usr/share/ati/fglrx-uninstall.sh

to no prevail. Any pointers?

It's been a very long time since I've done nVidia or ATI (AMD) driver installations... But I can tell you that if you're doing it from a terminal in a GUI, then yes, killing your display manager is going to kill your GUI lol

Is there some sort of package in your package manager?
post #14 of 15
Thread Starter 
Quote:
Originally Posted by The Hundred Gunner View Post


It's been a very long time since I've done nVidia or ATI (AMD) driver installations... But I can tell you that if you're doing it from a terminal in a GUI, then yes, killing your display manager is going to kill your GUI lol

Is there some sort of package in your package manager?

I have a folder labeled fglrx-14.10 with an installer among other things if that's what you mean. Forgive me but some of these terms here I'm still unfamiliar with redface.gif
Alienware 15
(11 items)
 
  
CPUGraphicsRAMHard Drive
i7-4710HQ GTX 970M 3GB 16GB 256GB M.2 SSD 
Hard DriveHard DriveOSOS
250GB m.2 SSD 1TB HDD Fedora 23 Windows 10 
MonitorKeyboardMouse
4k IPS Corsair K95 Corsair K65 
  hide details  
Reply
Alienware 15
(11 items)
 
  
CPUGraphicsRAMHard Drive
i7-4710HQ GTX 970M 3GB 16GB 256GB M.2 SSD 
Hard DriveHard DriveOSOS
250GB m.2 SSD 1TB HDD Fedora 23 Windows 10 
MonitorKeyboardMouse
4k IPS Corsair K95 Corsair K65 
  hide details  
Reply
post #15 of 15
Quote:
Originally Posted by LordOfTots View Post

I have a folder labeled fglrx-14.10 with an installer among other things if that's what you mean. Forgive me but some of these terms here I'm still unfamiliar with redface.gif

I just remember that when I was installing nVidia drivers, I had to ctrl + alt + F1 into a terminal, kill the GUI, then run the installer.

Be careful if you try that, though; I didn't know what I was doing, and I broke things.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help claiming ownership of hard drive