Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Thu Mar 28, 2024 8:16 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: File Permission on Linux
PostPosted: Thu May 20, 2010 1:39 am 
Offline
Newbie

Joined: Fri May 07, 2010 8:46 am
Posts: 12
I was having problems with some permissions so I screwed up all file permissions to solve some problems.

Question is What are the default permissions for the files in the web directory? Like the general permission that most of the files should have then the specific permission for those 3-4 special files. Can't seem to find anywhere with a search.


Top
 Profile  
Reply with quote  
PostPosted: Thu May 20, 2010 8:15 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
I have all of the files

[code]
-rw-r--r-- 1 www-data www-data
[/code]

.. by default, but it depends on how your apache expects them to be, they must be readable by the web server, and the scripts folder should be writeable.

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
PostPosted: Tue May 25, 2010 5:27 am 
Offline
Newbie

Joined: Fri May 07, 2010 8:46 am
Posts: 12
Oh ok thanks. During the setup it askes to make a couple files 0744. Does anyone recall from the initial setup php file?


Top
 Profile  
Reply with quote  
PostPosted: Tue May 25, 2010 5:34 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
[quote="cmendes0101"]Oh ok thanks. During the setup it askes to make a couple files 0744. Does anyone recall from the initial setup php file?


The setup suggests making include_config.php and audit.config writeable (0744) but if you are truggling, and not too worried about security, set them (0777)

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group