Quote
One question, I need some help with my file settings... I can write to my configs, so nothing is saved. Please help this Linux'Newby and tell me how to fix this? I'd appreciate it!
I guess you meant you can't write to them? anyway.
that's part of it:
I'm listing the file autoexec.cfg with the "-l" switch to show more info:
$ ls -l autoexec.cfg
It returns:
$ -rwxr-xr-x 1 fs fs 728 2005-04-01 17:38 autoexec.cfg
that means the file autoexec.cfg is owned by fs and the fs group and its permissions are -rwxr-xr-x or in three parts"-rwx"(read-write-execute by the user) "r-x"(read-execute by the group) "r-x"(read-execute by everyone else).
If I'm not "fs" I can't write to it. So, to write to it without changing the permissions I can change the owner to fs with "chown fs autoexec.cfg", to change both the group and owner to fs, "chown fs:fs autoexec.cfg". If I can't do that I can become root and do it with "su"(to become root) or "sudo command"(to run a command with root priviledges) (I've heard ubuntu doesn't have a root user so sudo must be used, not sure).
To change the permissions to -rwxr-xr-x fast, I can do "chmod 755 file".
"chmod 777 file"(or whatever-whatever-7) is supposed to give access to everyone to read-write-execute the file, but that should better not be used unless for temporary files.
ps. The quake3 config user files are in /home/"your-user"/.q3a and the urban terror config files in /home/"your-user"/.q3a/q3ut3 In that location is the "pb" folder as well where the pbweb program can be run. In other words you usually shouldn't touch the quake3/q3ut3 directory in /usr unless for updating the programs or adding new maps. The home directory is usually writable by the user that owns it (obviously).