LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2004, 03:52 AM   #1
bob4432
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
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
 
Old 06-23-2004, 04:40 AM   #2
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
Rightclick on the mouse, and then one of the tabs you can change the permissions.
 
Old 06-23-2004, 05:44 AM   #3
bob4432
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
i tried that and it says that root owns it. i am in the root group, but not the owner of the files.
 
Old 06-23-2004, 08:38 AM   #4
DaGiGi
LQ Newbie
 
Registered: Jun 2004
Location: Huizen, Netherlands
Posts: 4

Rep: Reputation: 0
Login as root and go to computer configure page.. somewhere there u can change permissions
 
Old 06-25-2004, 01:23 PM   #5
bob4432
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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?
 
Old 06-25-2004, 01:29 PM   #6
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
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...
 
Old 06-25-2004, 02:50 PM   #7
bob4432
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
i will give that a try...

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
finding directories w/ certain permissions secular Linux - Security 1 12-28-2004 04:36 PM
home directories permissions black_man Debian 1 11-20-2004 09:48 AM
change file permissions recursivly without changing permission of directories eNTi Linux - Software 8 10-15-2004 03:37 PM
permissions home directories powadha Debian 6 06-11-2004 11:45 AM
file permissions windows directories lfent Linux - General 5 02-17-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration