home folder permissions

Need help with one of the installers?
Post Reply
cackerso

home folder permissions

Post by cackerso » Mon Oct 27, 2008 23:10

This is more likely a general linux problem but here goes. I've tried a couple of the installers. When the installer asks where to put the game I indicate the directory "Games" in my home directory which is on a different partition from my linux OS. I can't install beyond this point because I get an error that the permissions are wrong and the game can't be installed in the requested directory. Do I need to change the permissions on the Games directory first before I can install? If so, to what?

Thanks,

cackerso

kratz00
liflg member
Posts: 1662
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Oct 28, 2008 13:19

What filesystem is it?
Of course you need write permission, whats the output of

ls -ld ~/Games

cackerso

Post by cackerso » Thu Oct 30, 2008 17:47

The file system is ext 3

The output of ls -ld /Games is: drwxr-xrwx 9

kratz00
liflg member
Posts: 1662
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Thu Oct 30, 2008 19:52

filesystem is not the problem, who is the owner of this directory, has the user who is trying to install some game write permission?

cackerso

Post by cackerso » Mon Nov 03, 2008 22:58

OK here's the entire output of ls -ld

larry@mepis1:~$ ls -ld Games
drwxr-xrwx 8 larry users 4096 2008-10-31 23:23 Games
larry@mepis1:~$

I hope that's what you meant. I'll do a bit of reading on permissions in the meantime.

cackerso

Post by cackerso » Tue Nov 04, 2008 20:52

Actually I have different question. Couldn't I just use the installer as root and then there wouldn't be any problems with directory permissions?

kratz00
liflg member
Posts: 1662
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Nov 04, 2008 21:36

cackerso wrote:Actually I have different question. Couldn't I just use the installer as root and then there wouldn't be any problems with directory permissions?
Bad and 'unsecure' workaround :(

Permissions look ok, maybe there is something wrong with the mount options. What does ' cat /proc/mounts | grep Games' say?
Can you create a file in the Games directory? Try: ' touch testfile ~/Games'

cackerso

Post by cackerso » Sun Nov 09, 2008 19:51

OK,

The result seems a bit odd to me but my linux experience is limited so I guess I shouldn't be surprised.

"cat /proc/mounts | grep Games" gives nothing.

Likewise "touch testfile ~/Games" does not create a file. I just get the prompt after I enter the command.

kratz00
liflg member
Posts: 1662
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Sun Nov 09, 2008 23:19

So there is no partition mounted to ~/Games
Sorry the touch call is wrong, it should be: 'touch ~/Games/testfile'

cackerso

Post by cackerso » Tue Nov 11, 2008 3:37

Hello again,

'touch ~/Games/testfile' does in fact create the file in "Games"

kratz00
liflg member
Posts: 1662
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Nov 11, 2008 9:25

If you can create files then, the installer should be abled to create files too.
Are you running the installer as the same user who ran the touch command?

cackerso

Post by cackerso » Tue Nov 11, 2008 17:00

I agree it seems like I should. Does the installer need to be in any particular folder to run? I'll try another run at this coming weekend and post back here. Thanks for all of your help.

kratz00
liflg member
Posts: 1662
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Nov 11, 2008 18:20

Nope, you can start the installer from everywhere you like and your user has access to :)

Post Reply