Yet another mount.cfg thread...

Sigh. I feel like I’m taking crazy pills. Despite revising my mounting configuration multiple times, I can not seem to be able to get my server to load game content.

Here is my current mount.cfg :



"mountcfg"
{
	   "tf"		"/content/tf2/tf"
	   "ep2"   	"/content/ep2" 
	   "cstrike"	"/content/cstrike/cstrike"
}


Here is the folder structure:



.
├── content
│•• ├── cstrike
│•• │•• ├── 040979e2a5d277bdd11d43df0811d672e600a68c
│•• │•• ├── bin
│•• │•• ├── cstrike
│•• │•• ├── hl2
│•• │•• └── platform
│•• ├── ep2
│•• │•• ├── 830d33cbec800797dc0af23a6009d5b1097321c1
│•• │•• ├── bin
│•• │•• ├── drivers
│•• │•• ├── ep2
│•• │•• ├── episodic
│•• │•• ├── hl1
│•• │•• ├── hl2
│•• │•• ├── lostcoast
│•• │•• ├── platform
│•• │•• └── resources
│•• └── tf2
│••     ├── 6a0157b330216b883f07f15b60de495c76bda411
│••     ├── bin
│••     ├── hl2
│••     ├── platform
│••     └── tf
├── gmodds
│•• ├── a7a91bdf48d58ee9423224cd14c292bd6160d06c
│•• ├── b1f7209af9ba34a91383dbec6ab4427dbde8faaf
│•• ├── bin
│•• ├── garrysmod
│•• ├── platform
│•• └── sourceengine
│••    
└── Steam
    ├── ~
    ├── appcache
    ├── config
    ├── depotcache
    ├── linux32
    ├── logs
    ├── package
    ├── public
    ├── SteamApps
    └── userdata


Sorry about the dots, it didn’t copy/paste very nicely, but you get the idea.

On Debian, do I need to put “/home” or can I just leave it with “/” only? Is that even the issue?

Thanks.

Put /home in front of them and see if it works.

Try doing paths from /home/. Also, for ep2, it should be /content/ep2/ep2

Nada.

Thanks for catching the /ep2/ep2 part, in my editing I must have accidentally left the second one off.

Edited mount.cfg, still not working after a server restart:



"mountcfg"
{
	   "tf"		"/home/content/tf2/tf"
	   "ep2"   	"/home/content/ep2/ep2" 
	   "cstrike"	"/home/content/cstrike/cstrike"
}


Does the user who runs the server have read access to the content?

Also, you don’t want to just put /home into that, you want to place /home/user where you replace “user” with the correct one. E.g /home/gmod/content/cstrike/cstrike

Scratch that, I figured out part of it. I used /root/ in place of /home/.

Seems to work.

Thanks for the help.