LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing Permissions on Directories... (https://www.linuxquestions.org/questions/linux-newbie-8/changing-permissions-on-directories-196703/)

bob4432 06-23-2004 03:52 AM

Changing Permissions on Directories...
 
i have mandrake 10 running a bf:v server. when installing bf:v server, i had to change to root.

the server runs excellent, but i have one problem.

i have a stats program on a different machine that needs the logs files that bf:v creates. i have used the "chmod -R 777 /dirname" command to change all the files in the log dir so that anybody can use them. this works for the ones that are already in there, but as soon as bf:v creates a new file, it has the little lock on it because it was created by root. is there anyway i can make all new files in this directory able to be viewed/edited by all users without having to use "chmod -R 777 /dirname" all the time?

thanks in advance for your time :)

hylke 06-23-2004 04:40 AM

Rightclick on the mouse, and then one of the tabs you can change the permissions.

bob4432 06-23-2004 05:44 AM

i tried that and it says that root owns it. i am in the root group, but not the owner of the files.

DaGiGi 06-23-2004 08:38 AM

Login as root and go to computer configure page.. somewhere there u can change permissions

bob4432 06-25-2004 01:23 PM

how do i log in as root? i can bring up a terminal window and use "su" and change the dir, but whenever a new file is written to the dir it is always locked, the ones that are in there already are changed, but new ones are not, i am guessing because the program that creates them was installed via root and not me the user. any ideas?

jeffreybluml 06-25-2004 01:29 PM

Not at all familiar with the program you're using, but is there a config file in which you can change the umask of the files that it creates?

Something to look for, anyways...

Good luck...

bob4432 06-25-2004 02:50 PM

i will give that a try...

:)


All times are GMT -5. The time now is 05:06 PM.