How can I install steam games to an external drives/mount points with Ubuntu 18.04? (solution found)How can I change where Steam installs games?mount two hard drives on start upHow can I mount my partition with executive permissions using the launcher icons?Steam install can erase my home. How to prevent it?Steam Library-Must be on a filesystem mounted with execute permissionsHow to add execute permissions to a USB Flash Drive ext4 (for steam)How to mount a SD card to use with STEAM to expand storage for games18.04.1 steam says I can't make a partition on a drive without exec but I edited fstabWhy remounting root file system takes a lot of time?
How to level a picture frame hung on a single nail?
Rover vs pathfinder vs lander?
Why does the Pilatus PC-24 have such a large "Wing Support"?
Generating numbers with cubes
Is "Ram married his daughter" ambiguous?
Can I bring this power bank on board the aircraft?
Can Fabled Passage generate two mana with Amulet of Vigor?
What powers or limits devil promotion?
Original German for Goethe quote
Would a horse be sufficient buffer to prevent injury when falling from a great height?
What are one's options when facing religious discrimination at the airport?
Looking for circuit board material that can be dissolved
Why do popular TCP-using services have UDP as well as TCP entries in /etc/services?
Digital Bananas
Could the Queen overturn the UK Supreme Court ruling regarding prorogation of Parliament?
How to protect bash function from being overridden?
Re-entering the UK after overstaying in 2008
Does Bank Manager's discretion still exist in Mortgage Lending
Why the first octet of a MAC address always end with a binary 0?
Manager told a colleague of mine I was getting fired soon
Magento 2 Country Name not get translated when using countryFactory
Why Vegetable Stock is bitter, but Chicken Stock not?
Notation clarity question for a conglomerate of accidentals
Using RECURSIVE in Virtual Layer
How can I install steam games to an external drives/mount points with Ubuntu 18.04? (solution found)
How can I change where Steam installs games?mount two hard drives on start upHow can I mount my partition with executive permissions using the launcher icons?Steam install can erase my home. How to prevent it?Steam Library-Must be on a filesystem mounted with execute permissionsHow to add execute permissions to a USB Flash Drive ext4 (for steam)How to mount a SD card to use with STEAM to expand storage for games18.04.1 steam says I can't make a partition on a drive without exec but I edited fstabWhy remounting root file system takes a lot of time?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
A possible solution has been given to this problem
I am new to Ubuntu, and I am eager to completely delete Windows from my PC. But I have a problem.
I have installed Steam on my PC running Ubuntu 18.04, but for the life of me I cannot get games to install on another hard drive.
I have already gone through steam settings and tried to manually change the location, but it restricts my installation points to the /home/someuser directory. (It will not let me access other areas of the computer.)
I have even tried to mount a drive to /home/someuser (with the correct read and write permission parameters). It does not show up in steam. So then i tried to create the same directory through the Steam Installation interface. I can create a folder location with the same name that the drive is mounted to, but it still says it's saving to the drive my Linux build is installed on (not the mounted drive.).
I have also tried manually adding a mount point that I created: /media/steamgames (what I named one of my mount points) to Steam. I get a read/write permission error. (but I changed the permission on the mount point to 777 and gave ownership to my someuser.
Both of the drives that I am attempting to install to are formatted as ext4. Additionally, I tried to make a permanent mount through /etc/fstab (that didn't work either.).
Mounting folder into home folder
When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error:
failed to create a folder, this drive is read-only.
The are the revisions I made to /etc/fstab:
#Entry for /dev/sdd1
UUID=ebd692b7-333f-4c60-9031-624a97b07b5d /media/Steam ext4 rw,users,exec,auto 0 0
#Entry for /dev/sdc2 :
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
Ls -la on my home dir
cory@Cory-MS-7A38:~$ ls -la
total 208
drwxr-xr-x 31 cory cory 4096 四 16 20:36 .
drwxr-xr-x 3 root root 4096 一 13 14:09 ..
drwxrwxrwx 4 cory cory 4096 四 15 22:21 1.0TB-Hard-Disk
Here is a picture of what I see in my Steam gallery. As stated, I have already tried to add the drive that I mounted to /home/cory/1.0TB-Hard-Disk. But apparently something is wrong because it only have 3gigs of space on it.
18.04 games steam drive
|
show 5 more comments
A possible solution has been given to this problem
I am new to Ubuntu, and I am eager to completely delete Windows from my PC. But I have a problem.
I have installed Steam on my PC running Ubuntu 18.04, but for the life of me I cannot get games to install on another hard drive.
I have already gone through steam settings and tried to manually change the location, but it restricts my installation points to the /home/someuser directory. (It will not let me access other areas of the computer.)
I have even tried to mount a drive to /home/someuser (with the correct read and write permission parameters). It does not show up in steam. So then i tried to create the same directory through the Steam Installation interface. I can create a folder location with the same name that the drive is mounted to, but it still says it's saving to the drive my Linux build is installed on (not the mounted drive.).
I have also tried manually adding a mount point that I created: /media/steamgames (what I named one of my mount points) to Steam. I get a read/write permission error. (but I changed the permission on the mount point to 777 and gave ownership to my someuser.
Both of the drives that I am attempting to install to are formatted as ext4. Additionally, I tried to make a permanent mount through /etc/fstab (that didn't work either.).
Mounting folder into home folder
When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error:
failed to create a folder, this drive is read-only.
The are the revisions I made to /etc/fstab:
#Entry for /dev/sdd1
UUID=ebd692b7-333f-4c60-9031-624a97b07b5d /media/Steam ext4 rw,users,exec,auto 0 0
#Entry for /dev/sdc2 :
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
Ls -la on my home dir
cory@Cory-MS-7A38:~$ ls -la
total 208
drwxr-xr-x 31 cory cory 4096 四 16 20:36 .
drwxr-xr-x 3 root root 4096 一 13 14:09 ..
drwxrwxrwx 4 cory cory 4096 四 15 22:21 1.0TB-Hard-Disk
Here is a picture of what I see in my Steam gallery. As stated, I have already tried to add the drive that I mounted to /home/cory/1.0TB-Hard-Disk. But apparently something is wrong because it only have 3gigs of space on it.
18.04 games steam drive
Hi and welcome to askubuntu. Can you add some information about thepermission error. Which folder/file steam tries to write? Also add the entry you made in the/etc/fstabwould be interesting and maybe the output ofls -laon the folders in question. Use askubuntu.com/posts/1134270/edit to update your post
– Simon Sudler
Apr 16 at 7:18
Thank you. When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error: "failed to create a folder, this drive is read-only."
– Cory Rock Simmons
Apr 16 at 12:23
Can you please add the outputls -laof the mounted folders? use askubuntu.com/posts/1134270/edit to update your question
– Simon Sudler
Apr 16 at 12:38
cory@Cory-MS-7A38:~/1.0TB-Hard-Disk$ ls -la total 28 drwxrwxrwx 4 cory cory 4096 四 15 22:21 . drwxr-xr-x 31 cory cory 4096 四 16 20:36 .. drwxrwxrwx 2 cory cory 4096 四 15 22:21 games drwxrwxrwx 2 cory cory 16384 四 9 22:51 lost+found
– Cory Rock Simmons
Apr 16 at 12:41
#Entry for /dev/sdc2 : UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
– Cory Rock Simmons
Apr 16 at 12:42
|
show 5 more comments
A possible solution has been given to this problem
I am new to Ubuntu, and I am eager to completely delete Windows from my PC. But I have a problem.
I have installed Steam on my PC running Ubuntu 18.04, but for the life of me I cannot get games to install on another hard drive.
I have already gone through steam settings and tried to manually change the location, but it restricts my installation points to the /home/someuser directory. (It will not let me access other areas of the computer.)
I have even tried to mount a drive to /home/someuser (with the correct read and write permission parameters). It does not show up in steam. So then i tried to create the same directory through the Steam Installation interface. I can create a folder location with the same name that the drive is mounted to, but it still says it's saving to the drive my Linux build is installed on (not the mounted drive.).
I have also tried manually adding a mount point that I created: /media/steamgames (what I named one of my mount points) to Steam. I get a read/write permission error. (but I changed the permission on the mount point to 777 and gave ownership to my someuser.
Both of the drives that I am attempting to install to are formatted as ext4. Additionally, I tried to make a permanent mount through /etc/fstab (that didn't work either.).
Mounting folder into home folder
When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error:
failed to create a folder, this drive is read-only.
The are the revisions I made to /etc/fstab:
#Entry for /dev/sdd1
UUID=ebd692b7-333f-4c60-9031-624a97b07b5d /media/Steam ext4 rw,users,exec,auto 0 0
#Entry for /dev/sdc2 :
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
Ls -la on my home dir
cory@Cory-MS-7A38:~$ ls -la
total 208
drwxr-xr-x 31 cory cory 4096 四 16 20:36 .
drwxr-xr-x 3 root root 4096 一 13 14:09 ..
drwxrwxrwx 4 cory cory 4096 四 15 22:21 1.0TB-Hard-Disk
Here is a picture of what I see in my Steam gallery. As stated, I have already tried to add the drive that I mounted to /home/cory/1.0TB-Hard-Disk. But apparently something is wrong because it only have 3gigs of space on it.
18.04 games steam drive
A possible solution has been given to this problem
I am new to Ubuntu, and I am eager to completely delete Windows from my PC. But I have a problem.
I have installed Steam on my PC running Ubuntu 18.04, but for the life of me I cannot get games to install on another hard drive.
I have already gone through steam settings and tried to manually change the location, but it restricts my installation points to the /home/someuser directory. (It will not let me access other areas of the computer.)
I have even tried to mount a drive to /home/someuser (with the correct read and write permission parameters). It does not show up in steam. So then i tried to create the same directory through the Steam Installation interface. I can create a folder location with the same name that the drive is mounted to, but it still says it's saving to the drive my Linux build is installed on (not the mounted drive.).
I have also tried manually adding a mount point that I created: /media/steamgames (what I named one of my mount points) to Steam. I get a read/write permission error. (but I changed the permission on the mount point to 777 and gave ownership to my someuser.
Both of the drives that I am attempting to install to are formatted as ext4. Additionally, I tried to make a permanent mount through /etc/fstab (that didn't work either.).
Mounting folder into home folder
When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error:
failed to create a folder, this drive is read-only.
The are the revisions I made to /etc/fstab:
#Entry for /dev/sdd1
UUID=ebd692b7-333f-4c60-9031-624a97b07b5d /media/Steam ext4 rw,users,exec,auto 0 0
#Entry for /dev/sdc2 :
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
Ls -la on my home dir
cory@Cory-MS-7A38:~$ ls -la
total 208
drwxr-xr-x 31 cory cory 4096 四 16 20:36 .
drwxr-xr-x 3 root root 4096 一 13 14:09 ..
drwxrwxrwx 4 cory cory 4096 四 15 22:21 1.0TB-Hard-Disk
Here is a picture of what I see in my Steam gallery. As stated, I have already tried to add the drive that I mounted to /home/cory/1.0TB-Hard-Disk. But apparently something is wrong because it only have 3gigs of space on it.
18.04 games steam drive
18.04 games steam drive
edited Apr 19 at 5:54
Cory Rock Simmons
asked Apr 16 at 6:21
Cory Rock SimmonsCory Rock Simmons
65 bronze badges
65 bronze badges
Hi and welcome to askubuntu. Can you add some information about thepermission error. Which folder/file steam tries to write? Also add the entry you made in the/etc/fstabwould be interesting and maybe the output ofls -laon the folders in question. Use askubuntu.com/posts/1134270/edit to update your post
– Simon Sudler
Apr 16 at 7:18
Thank you. When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error: "failed to create a folder, this drive is read-only."
– Cory Rock Simmons
Apr 16 at 12:23
Can you please add the outputls -laof the mounted folders? use askubuntu.com/posts/1134270/edit to update your question
– Simon Sudler
Apr 16 at 12:38
cory@Cory-MS-7A38:~/1.0TB-Hard-Disk$ ls -la total 28 drwxrwxrwx 4 cory cory 4096 四 15 22:21 . drwxr-xr-x 31 cory cory 4096 四 16 20:36 .. drwxrwxrwx 2 cory cory 4096 四 15 22:21 games drwxrwxrwx 2 cory cory 16384 四 9 22:51 lost+found
– Cory Rock Simmons
Apr 16 at 12:41
#Entry for /dev/sdc2 : UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
– Cory Rock Simmons
Apr 16 at 12:42
|
show 5 more comments
Hi and welcome to askubuntu. Can you add some information about thepermission error. Which folder/file steam tries to write? Also add the entry you made in the/etc/fstabwould be interesting and maybe the output ofls -laon the folders in question. Use askubuntu.com/posts/1134270/edit to update your post
– Simon Sudler
Apr 16 at 7:18
Thank you. When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error: "failed to create a folder, this drive is read-only."
– Cory Rock Simmons
Apr 16 at 12:23
Can you please add the outputls -laof the mounted folders? use askubuntu.com/posts/1134270/edit to update your question
– Simon Sudler
Apr 16 at 12:38
cory@Cory-MS-7A38:~/1.0TB-Hard-Disk$ ls -la total 28 drwxrwxrwx 4 cory cory 4096 四 15 22:21 . drwxr-xr-x 31 cory cory 4096 四 16 20:36 .. drwxrwxrwx 2 cory cory 4096 四 15 22:21 games drwxrwxrwx 2 cory cory 16384 四 9 22:51 lost+found
– Cory Rock Simmons
Apr 16 at 12:41
#Entry for /dev/sdc2 : UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
– Cory Rock Simmons
Apr 16 at 12:42
Hi and welcome to askubuntu. Can you add some information about the
permission error. Which folder/file steam tries to write? Also add the entry you made in the /etc/fstab would be interesting and maybe the output of ls -la on the folders in question. Use askubuntu.com/posts/1134270/edit to update your post– Simon Sudler
Apr 16 at 7:18
Hi and welcome to askubuntu. Can you add some information about the
permission error. Which folder/file steam tries to write? Also add the entry you made in the /etc/fstab would be interesting and maybe the output of ls -la on the folders in question. Use askubuntu.com/posts/1134270/edit to update your post– Simon Sudler
Apr 16 at 7:18
Thank you. When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error: "failed to create a folder, this drive is read-only."
– Cory Rock Simmons
Apr 16 at 12:23
Thank you. When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error: "failed to create a folder, this drive is read-only."
– Cory Rock Simmons
Apr 16 at 12:23
Can you please add the output
ls -la of the mounted folders? use askubuntu.com/posts/1134270/edit to update your question– Simon Sudler
Apr 16 at 12:38
Can you please add the output
ls -la of the mounted folders? use askubuntu.com/posts/1134270/edit to update your question– Simon Sudler
Apr 16 at 12:38
cory@Cory-MS-7A38:~/1.0TB-Hard-Disk$ ls -la total 28 drwxrwxrwx 4 cory cory 4096 四 15 22:21 . drwxr-xr-x 31 cory cory 4096 四 16 20:36 .. drwxrwxrwx 2 cory cory 4096 四 15 22:21 games drwxrwxrwx 2 cory cory 16384 四 9 22:51 lost+found
– Cory Rock Simmons
Apr 16 at 12:41
cory@Cory-MS-7A38:~/1.0TB-Hard-Disk$ ls -la total 28 drwxrwxrwx 4 cory cory 4096 四 15 22:21 . drwxr-xr-x 31 cory cory 4096 四 16 20:36 .. drwxrwxrwx 2 cory cory 4096 四 15 22:21 games drwxrwxrwx 2 cory cory 16384 四 9 22:51 lost+found
– Cory Rock Simmons
Apr 16 at 12:41
#Entry for /dev/sdc2 : UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
– Cory Rock Simmons
Apr 16 at 12:42
#Entry for /dev/sdc2 : UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
– Cory Rock Simmons
Apr 16 at 12:42
|
show 5 more comments
2 Answers
2
active
oldest
votes
From your description is is hard determine what causes the permission error. So here is something you can try:
Mount the external disk for a new user
Add the external disk to /etc/fstab and mount it to a home of a new user:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/steamuser ext4 rw 0 0
Then create the folder and user:
$ sudo mkdir -p /home/steamuser
$ sudo adduser steamuser
Adding user `steamuser' ...
Adding new group `steamuser' (1001) ...
Adding new user `steamuser' (1001) with group `steamuser' ...
The home directory `/home/steamuser' already exists. Not copying from `/etc/skel'.
adduser: Warning: The home directory `/home/steamuser' does not belong to the user you are currently creating.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for steamuser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
## Copy skeleton
$ sudo cp -Tr /etc/skel /home/steamuser
## Set owner and group
$ sudo chown -R steamuser:steamuser /home/steamuser/
## should look like this:
$ ls -la /home/steamuser/
total 48
drwxr-xr-x 3 steamuser steamuser 4096 Apr 17 17:06 .
drwxr-xr-x 5 root root 4096 Apr 17 17:00 ..
-rw-r--r-- 1 steamuser steamuser 220 Apr 17 17:06 .bash_logout
-rw-r--r-- 1 steamuser steamuser 3771 Apr 17 17:06 .bashrc
-rw-r--r-- 1 steamuser steamuser 8980 Apr 17 17:06 examples.desktop
drwx------ 2 steamuser steamuser 16384 Apr 17 16:59 lost+found
-rw-r--r-- 1 steamuser steamuser 807 Apr 17 17:06 .profile
Then login (via GUI) as steamuser and install and run steam. Don't copy stuff from your old home, maybe that is part of the problem.
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
add a comment
|
In the end, I found out the reason for the problem.
Steam (or at least my version of Steam) is installed with Flatpak. Flatpak does not actually have access to the /home directory filesystem. it creates a sandbox environment in Home/user/.var/app/com.valvesoftware.Steam
To manually override this, I created a mount point outside of /home (IT IS IMPORTANT TO DO THIS OUTSIDE OF HOME OR IT COULD MESS SOMETHING UP) I named my mount point /media/1.0TB-Hard-Disk
Then
flatpak override --user --filesystem=/media/1.0TB-Hard-Disk com.valvesoftware.Steam
More information about this can be found here: https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134270%2fhow-can-i-install-steam-games-to-an-external-drives-mount-points-with-ubuntu-18%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
From your description is is hard determine what causes the permission error. So here is something you can try:
Mount the external disk for a new user
Add the external disk to /etc/fstab and mount it to a home of a new user:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/steamuser ext4 rw 0 0
Then create the folder and user:
$ sudo mkdir -p /home/steamuser
$ sudo adduser steamuser
Adding user `steamuser' ...
Adding new group `steamuser' (1001) ...
Adding new user `steamuser' (1001) with group `steamuser' ...
The home directory `/home/steamuser' already exists. Not copying from `/etc/skel'.
adduser: Warning: The home directory `/home/steamuser' does not belong to the user you are currently creating.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for steamuser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
## Copy skeleton
$ sudo cp -Tr /etc/skel /home/steamuser
## Set owner and group
$ sudo chown -R steamuser:steamuser /home/steamuser/
## should look like this:
$ ls -la /home/steamuser/
total 48
drwxr-xr-x 3 steamuser steamuser 4096 Apr 17 17:06 .
drwxr-xr-x 5 root root 4096 Apr 17 17:00 ..
-rw-r--r-- 1 steamuser steamuser 220 Apr 17 17:06 .bash_logout
-rw-r--r-- 1 steamuser steamuser 3771 Apr 17 17:06 .bashrc
-rw-r--r-- 1 steamuser steamuser 8980 Apr 17 17:06 examples.desktop
drwx------ 2 steamuser steamuser 16384 Apr 17 16:59 lost+found
-rw-r--r-- 1 steamuser steamuser 807 Apr 17 17:06 .profile
Then login (via GUI) as steamuser and install and run steam. Don't copy stuff from your old home, maybe that is part of the problem.
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
add a comment
|
From your description is is hard determine what causes the permission error. So here is something you can try:
Mount the external disk for a new user
Add the external disk to /etc/fstab and mount it to a home of a new user:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/steamuser ext4 rw 0 0
Then create the folder and user:
$ sudo mkdir -p /home/steamuser
$ sudo adduser steamuser
Adding user `steamuser' ...
Adding new group `steamuser' (1001) ...
Adding new user `steamuser' (1001) with group `steamuser' ...
The home directory `/home/steamuser' already exists. Not copying from `/etc/skel'.
adduser: Warning: The home directory `/home/steamuser' does not belong to the user you are currently creating.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for steamuser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
## Copy skeleton
$ sudo cp -Tr /etc/skel /home/steamuser
## Set owner and group
$ sudo chown -R steamuser:steamuser /home/steamuser/
## should look like this:
$ ls -la /home/steamuser/
total 48
drwxr-xr-x 3 steamuser steamuser 4096 Apr 17 17:06 .
drwxr-xr-x 5 root root 4096 Apr 17 17:00 ..
-rw-r--r-- 1 steamuser steamuser 220 Apr 17 17:06 .bash_logout
-rw-r--r-- 1 steamuser steamuser 3771 Apr 17 17:06 .bashrc
-rw-r--r-- 1 steamuser steamuser 8980 Apr 17 17:06 examples.desktop
drwx------ 2 steamuser steamuser 16384 Apr 17 16:59 lost+found
-rw-r--r-- 1 steamuser steamuser 807 Apr 17 17:06 .profile
Then login (via GUI) as steamuser and install and run steam. Don't copy stuff from your old home, maybe that is part of the problem.
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
add a comment
|
From your description is is hard determine what causes the permission error. So here is something you can try:
Mount the external disk for a new user
Add the external disk to /etc/fstab and mount it to a home of a new user:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/steamuser ext4 rw 0 0
Then create the folder and user:
$ sudo mkdir -p /home/steamuser
$ sudo adduser steamuser
Adding user `steamuser' ...
Adding new group `steamuser' (1001) ...
Adding new user `steamuser' (1001) with group `steamuser' ...
The home directory `/home/steamuser' already exists. Not copying from `/etc/skel'.
adduser: Warning: The home directory `/home/steamuser' does not belong to the user you are currently creating.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for steamuser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
## Copy skeleton
$ sudo cp -Tr /etc/skel /home/steamuser
## Set owner and group
$ sudo chown -R steamuser:steamuser /home/steamuser/
## should look like this:
$ ls -la /home/steamuser/
total 48
drwxr-xr-x 3 steamuser steamuser 4096 Apr 17 17:06 .
drwxr-xr-x 5 root root 4096 Apr 17 17:00 ..
-rw-r--r-- 1 steamuser steamuser 220 Apr 17 17:06 .bash_logout
-rw-r--r-- 1 steamuser steamuser 3771 Apr 17 17:06 .bashrc
-rw-r--r-- 1 steamuser steamuser 8980 Apr 17 17:06 examples.desktop
drwx------ 2 steamuser steamuser 16384 Apr 17 16:59 lost+found
-rw-r--r-- 1 steamuser steamuser 807 Apr 17 17:06 .profile
Then login (via GUI) as steamuser and install and run steam. Don't copy stuff from your old home, maybe that is part of the problem.
From your description is is hard determine what causes the permission error. So here is something you can try:
Mount the external disk for a new user
Add the external disk to /etc/fstab and mount it to a home of a new user:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/steamuser ext4 rw 0 0
Then create the folder and user:
$ sudo mkdir -p /home/steamuser
$ sudo adduser steamuser
Adding user `steamuser' ...
Adding new group `steamuser' (1001) ...
Adding new user `steamuser' (1001) with group `steamuser' ...
The home directory `/home/steamuser' already exists. Not copying from `/etc/skel'.
adduser: Warning: The home directory `/home/steamuser' does not belong to the user you are currently creating.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for steamuser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
## Copy skeleton
$ sudo cp -Tr /etc/skel /home/steamuser
## Set owner and group
$ sudo chown -R steamuser:steamuser /home/steamuser/
## should look like this:
$ ls -la /home/steamuser/
total 48
drwxr-xr-x 3 steamuser steamuser 4096 Apr 17 17:06 .
drwxr-xr-x 5 root root 4096 Apr 17 17:00 ..
-rw-r--r-- 1 steamuser steamuser 220 Apr 17 17:06 .bash_logout
-rw-r--r-- 1 steamuser steamuser 3771 Apr 17 17:06 .bashrc
-rw-r--r-- 1 steamuser steamuser 8980 Apr 17 17:06 examples.desktop
drwx------ 2 steamuser steamuser 16384 Apr 17 16:59 lost+found
-rw-r--r-- 1 steamuser steamuser 807 Apr 17 17:06 .profile
Then login (via GUI) as steamuser and install and run steam. Don't copy stuff from your old home, maybe that is part of the problem.
answered Apr 17 at 15:12
Simon SudlerSimon Sudler
2,1709 silver badges21 bronze badges
2,1709 silver badges21 bronze badges
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
add a comment
|
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
That worked. Wow. Thank you so much. I am still confused exactly what was wrong. I may figure out the reason some day, or I may never know the reason why...either way, thank you.
– Cory Rock Simmons
Apr 18 at 16:41
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
@CoryRockSimmons can you mark the answer as correct?
– Simon Sudler
Apr 19 at 7:13
add a comment
|
In the end, I found out the reason for the problem.
Steam (or at least my version of Steam) is installed with Flatpak. Flatpak does not actually have access to the /home directory filesystem. it creates a sandbox environment in Home/user/.var/app/com.valvesoftware.Steam
To manually override this, I created a mount point outside of /home (IT IS IMPORTANT TO DO THIS OUTSIDE OF HOME OR IT COULD MESS SOMETHING UP) I named my mount point /media/1.0TB-Hard-Disk
Then
flatpak override --user --filesystem=/media/1.0TB-Hard-Disk com.valvesoftware.Steam
More information about this can be found here: https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions
add a comment
|
In the end, I found out the reason for the problem.
Steam (or at least my version of Steam) is installed with Flatpak. Flatpak does not actually have access to the /home directory filesystem. it creates a sandbox environment in Home/user/.var/app/com.valvesoftware.Steam
To manually override this, I created a mount point outside of /home (IT IS IMPORTANT TO DO THIS OUTSIDE OF HOME OR IT COULD MESS SOMETHING UP) I named my mount point /media/1.0TB-Hard-Disk
Then
flatpak override --user --filesystem=/media/1.0TB-Hard-Disk com.valvesoftware.Steam
More information about this can be found here: https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions
add a comment
|
In the end, I found out the reason for the problem.
Steam (or at least my version of Steam) is installed with Flatpak. Flatpak does not actually have access to the /home directory filesystem. it creates a sandbox environment in Home/user/.var/app/com.valvesoftware.Steam
To manually override this, I created a mount point outside of /home (IT IS IMPORTANT TO DO THIS OUTSIDE OF HOME OR IT COULD MESS SOMETHING UP) I named my mount point /media/1.0TB-Hard-Disk
Then
flatpak override --user --filesystem=/media/1.0TB-Hard-Disk com.valvesoftware.Steam
More information about this can be found here: https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions
In the end, I found out the reason for the problem.
Steam (or at least my version of Steam) is installed with Flatpak. Flatpak does not actually have access to the /home directory filesystem. it creates a sandbox environment in Home/user/.var/app/com.valvesoftware.Steam
To manually override this, I created a mount point outside of /home (IT IS IMPORTANT TO DO THIS OUTSIDE OF HOME OR IT COULD MESS SOMETHING UP) I named my mount point /media/1.0TB-Hard-Disk
Then
flatpak override --user --filesystem=/media/1.0TB-Hard-Disk com.valvesoftware.Steam
More information about this can be found here: https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions
answered Apr 20 at 20:29
Cory Rock SimmonsCory Rock Simmons
65 bronze badges
65 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134270%2fhow-can-i-install-steam-games-to-an-external-drives-mount-points-with-ubuntu-18%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Hi and welcome to askubuntu. Can you add some information about the
permission error. Which folder/file steam tries to write? Also add the entry you made in the/etc/fstabwould be interesting and maybe the output ofls -laon the folders in question. Use askubuntu.com/posts/1134270/edit to update your post– Simon Sudler
Apr 16 at 7:18
Thank you. When I try to add a folder all this available is folders in the home dir. When I try to add a folder with the same name as the mounted drive or add a /media point, I get this error: "failed to create a folder, this drive is read-only."
– Cory Rock Simmons
Apr 16 at 12:23
Can you please add the output
ls -laof the mounted folders? use askubuntu.com/posts/1134270/edit to update your question– Simon Sudler
Apr 16 at 12:38
cory@Cory-MS-7A38:~/1.0TB-Hard-Disk$ ls -la total 28 drwxrwxrwx 4 cory cory 4096 四 15 22:21 . drwxr-xr-x 31 cory cory 4096 四 16 20:36 .. drwxrwxrwx 2 cory cory 4096 四 15 22:21 games drwxrwxrwx 2 cory cory 16384 四 9 22:51 lost+found
– Cory Rock Simmons
Apr 16 at 12:41
#Entry for /dev/sdc2 : UUID=0d688471-2966-4fe7-af74-d639e83f224b /home/cory/1.0TB-Hard-Disk ext4 rw,users,exec,auto 0 0
– Cory Rock Simmons
Apr 16 at 12:42