0

I am completely new to Linux, installed it around 10 mins ago any my first order of business is to get my HDD working. I have it set up and plugged in or whatever and there is alot of files on it that I can't lose, so reformatting or whatever isn't an option. I need to give it executable permissions so I can run the steam games off of it. How do I do this? I've browsed around other threads and looked at the stuff but some of it seems really complicated to a complete linux noob like myself.

Thanks in advance.

Kinand
  • 1

3 Answers3

2

This error seems to be related to the permissions of the folder your disk is mounted to, for me it was mounted by the user AFTER log in, by changing it to log in at boot (moving the mount point to /mnt from /media), it was mounted as root and the error was gone.

Open the dash and find the disks app, open it, click on the hard drive with your games on it and then, on the right the little cogs and mount options and make it look like this

enter image description here

Now just open steam and then, from the drop down menus, go to >> Steam >> Settings, choose downloads on the left then click STEAM LIBRARY FOLDERS button.

enter image description here

You should see a box listing only your steam install directory, click ADD NEW LIBRARY FOLDER and point it to the location of your folder.

Now your new drive is added and it will look, something like, this

enter image description here

Now your Steam should ask you where you installed games at the time of installation.

Mark Kirby
  • 18,529
  • 19
  • 78
  • 114
0

Reading a bit the comments, you have a disk used by Windows, probably formatted in NTFS, so its partitioning DO NOT ALLOW Unix permissions to be set.

You have to emulate them when you mount it.

Follow the first part of this answer to know how.

Moreover, if you want to make it always mounted with exec permissions, you have to modify your fstab.
For this, I refer you to the official community page.

dadexix86
  • 6,616
-1

You can grant executable permissions using chmod. However granting executable permission to a whole harddisk is not at all recommended and WILL break your linux installation. What you wan't to do is run games i understand, and believe me you DON'T need to give executable permissions to a whole drive to do just that. Now, lets get to what you need to do to run your games.

First make sure are they windows game(ones which have a setup and are run by .exe file) or linux native games. Running a game native to linux will be very simple. You will most probably just need to extract it and run is main file by double clicking. Running a game you used to play on windows will require wine. You can find how to setup wine and run windows games here. Also not all windows games run smoothly in linux, check your game compatiblity here. Hope that clears it up, goodluck.

H. Freeze
  • 531
  • I had planned to install WINE at some point and you've just reminded me, thanks. This doesn't really explain the executables problem though unless I'm reading it wrong. I still can't create/use my current steam library on that HDD. – Kinand Sep 28 '15 at 10:43
  • Check mark kirby's answer, i think it will be able to solve your problem. – H. Freeze Sep 28 '15 at 10:46
  • However granting executable permission to a whole harddisk is not at all recommended and WILL break your linux installation As written, this is not true. Root (/) is still a directory, and absolutely requires to be executable. Granting executable privileges shouldn't be done haphazardly, but 'break your linux installation' is a pretty strongly worded warning. Beyond that, your answer really doesn't address the problem. – Stephan Apr 30 '19 at 23:03