Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Search Forums

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: lchvdlch
Forum: Installation/Configuration 28th September 2009, 15:50
Replies: 2
Views: 3,427
Posted By lchvdlch
If your system is RPM based, you can fix all...

If your system is RPM based, you can fix all permissions issues with:


rpm -qa | xargs rpm --setugids
rpm -qa | xargs rpm --seperms


You can also de-install and re-install, it will save your...
Forum: Programming/Scripts 28th September 2009, 15:32
Replies: 7
Views: 6,360
Posted By lchvdlch
If you want to see the output of the scripts,...

If you want to see the output of the scripts, just look at the mail of the user which executes them in its cron.

If you want a verbose detail, just add set -x to the top of your script and let it...
Forum: General 28th September 2009, 15:15
Replies: 5
Views: 7,462
Posted By lchvdlch
Ok, with a space between the dot and the envvars...

Ok, with a space between the dot and the envvars path, the issue is about permissions.

If the www-data user has a valid shell (not /bin/true), you can su to it and test for if it has permissions:...
Forum: Programming/Scripts 28th September 2009, 15:09
Replies: 7
Views: 6,360
Posted By lchvdlch
Environment under Cron

As a general rule, in linux, you can "see" the environment of a running process by knowing it's PID:

strings /proc/PID/env

On the other hand, when you issue no PATH, all programs (CRON...
Forum: General 27th September 2009, 04:26
Replies: 5
Views: 7,462
Posted By lchvdlch
Please note that it complaints about a relative...

Please note that it complaints about a relative file (it begins with a dot, so the location is from the current directory).

So if you don't have that path under your current directory, it will...
Forum: Programming/Scripts 27th September 2009, 04:15
Replies: 7
Views: 6,360
Posted By lchvdlch
I suggest you to use something like: ...

I suggest you to use something like:


#!/bin/bash
KATALOG=/var/scripts
FILESPEC=*.sh
DIRPERM=700
FILEPERM=750
OWNER=user:group
CH_FSPEC=0
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT +2. The time now is 12:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.