UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 29th, 2005, 11:45 AM
baxteras baxteras is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 41 baxteras User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 31 m 8 sec
Reputation Power: 5
Unix file permissions and scipt access

hi i have a unix shell where i put my cgi scripts..
i have a cgi that create some text files that act like databases..
problem is that the created files have owner "nobody" so i cant change them manually... what do u suggest to do?
i need these txt files to be able to be modified both manually and by the scipt..
chmod to 666 is not an option for security reasons

thanx in advance

Reply With Quote
  #2  
Old October 31st, 2005, 11:38 AM
stdunbar stdunbar is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2004
Location: Superior, CO, USA
Posts: 1,698 stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level)stdunbar User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 12 h 23 m 28 sec
Reputation Power: 325
Send a message via ICQ to stdunbar Send a message via Yahoo to stdunbar
Would it be possible to change the group under which Apache runs? That way you could 660 the files and have both Apache and the other scripts run under the same group id.
__________________
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.

Reply With Quote
  #3  
Old October 31st, 2005, 07:57 PM
baxteras baxteras is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 41 baxteras User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 31 m 8 sec
Reputation Power: 5
Quote:
Originally Posted by stdunbar
Would it be possible to change the group under which Apache runs? That way you could 660 the files and have both Apache and the other scripts run under the same group id.


yes idd this is an option..
the problem is my site is hosted by a company..
so i need to ask them to do it

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Unix file permissions and scipt access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway