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 April 28th, 2005, 08:07 AM
dmuxaf dmuxaf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Overseas - Azores
Posts: 7 dmuxaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 36 sec
Reputation Power: 0
File Permission Changes

Hello,

I recently found the cause of a problem I was experiencing. The file permissions for two scripts that I created somehow changed from 777 to 644. I had these scripts in crontab and they all of a sudden stopped working. However, two other scripts - in different directories - kept working.

Does anyone know why/how this could have happened? Nothing was accomplished during the time frame that the scripts stopped working. At least nothing that I've found so far.

Any help is appreciated. Thanks!

Reply With Quote
  #2  
Old April 28th, 2005, 01:07 PM
gruntz gruntz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 53 gruntz User rank is Private First Class (20 - 50 Reputation Level)gruntz User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 39 m 25 sec
Reputation Power: 5
Occam's Razor ! Glad you found the cron problem.

Are you the only user? Is it possible someone else changed the permissions on you?

It's happend to me countless times that one of "rooters" have accidentally chmod, chown, or chgrp on directories and/or files.

Reply With Quote
  #3  
Old April 28th, 2005, 05:00 PM
dmuxaf dmuxaf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Overseas - Azores
Posts: 7 dmuxaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 36 sec
Reputation Power: 0
Nope, I'm the only person in our shop with the knowledge to navigate through the different directories. I'm not worried at all about someone changing anything. But, I did ask anyway.

Yeah, other than someone goofing around, I don't know what could have caused the change. Maybe a script load on our server, but none were accomplished during the permission change/script outage.

If you or anyone else have suggestions/advice, please let me know. Thanks!

Reply With Quote
  #4  
Old May 4th, 2005, 09:42 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,098 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 7 h 31 m 24 sec
Reputation Power: 9
a) an unix man NEVER need 777 , this is reserved for dos specialists
b) you say nothing about what is happen in cron, are you using ftp ?
ftp will change the perms, check configs
__________________
working on Solaris[5-9], preferred languages french and C.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > File Permission Changes


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
Stay green...Green IT