Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Can't complete maintenance tasks

Can't complete maintenance tasks
Thread Tools
Tee
Mac Enthusiast
Join Date: Oct 1999
Status: Offline
Reply With Quote
Mar 22, 2004, 10:53 PM
 
Hi,


I'm using 10.2.8.

Whenever I try running any of the daily/weekly/monthly maintenance scripts manually from the terminal each entry always says "permission denied" or "access denied"

Examples:

Backing up NetInfo data
/etc/daily: /var/backups/local.nidump: Permission denied




ruptime: no hosts in /var/rwho.




Rotating log files: system.logmv: rename system.log.6.gz to system.log.7.gz: Permission denied
mv: rename system.log.5.gz to system.log.6.gz: Permission denied
mv: rename system.log.4.gz to system.log.5.gz: Permission denied
mv: rename system.log.3.gz to system.log.4.gz: Permission denied
mv: rename system.log.2.gz to system.log.3.gz: Permission denied
mv: rename system.log.1.gz to system.log.2.gz: Permission denied
mv: rename system.log.0.gz to system.log.1.gz: Permission denied
mv: rename system.log to system.log.0: Permission denied
touch: system.log: Permission denied
/etc/daily: kill: (314) - Operation not permitted


I have repaired permissions and the situation persists.

Any suggestions??
     
Tee  (op)
Mac Enthusiast
Join Date: Oct 1999
Status: Offline
Reply With Quote
Mar 23, 2004, 01:29 AM
 
I figured out why the maintenance tasks were failing to run properly...

I was entering the command incorrectly in the Terminal!!!

I had neglected to preface the command with 'sudo' !!!!
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:15 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2