Nov 03, 2025 - 03:55 PMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dosenfleisch
Post subject: log-datei schreiben  PostPosted: Apr 18, 2007 - 06:13 PM



Joined: Jul 11, 2006
Posts: 164
Location: westerwald
hallo,

meine scripte schreiben mir alle in eine log-datei.
eines dieser scripte ist aber ein tar-backup-script für root und läuft deshalb als superuser.
immer wenn dieses script in die datei schreibt, nimmt haben die user-scripte keinen zugriff mehr darauf.
wie kann ich dieses problem lösen?
 
 View user's profile Send private message  
Reply with quote Back to top
Witwe_Bolte
Post subject: log-datei schreiben  PostPosted: Apr 19, 2007 - 09:11 AM



Joined: Apr 09, 2005
Posts: 203

Also ich habe gerade als User mit touch ein leeres file angelegt und danach als root was reingeschrieben. User und Gruppe wurden dadurch nicht verändert. Wenn Dein root-script also erst die Datei anlegt und dann Eigentümer und Gruppe ändert, müßte es so bleiben, auch wenn root danach reinschreibt.

_________________
unsensibel, aber empfindlich
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
dosenfleisch
Post subject: RE: log-datei schreiben  PostPosted: Apr 19, 2007 - 09:24 AM



Joined: Jul 11, 2006
Posts: 164
Location: westerwald
danke für deine antwort.
du hast recht, so ist es bei mir auch.
ich habe offenbar ein script am werkeln, daß eigentlich ein user-script ist, aber als superuser gestartet wird. es muß irgendwo noch drin stehen, ich weiß aber nicht wo. Winken
ist wohl eine leiche, die übrig blieb, als ich mich mit den autostartmöglichkeiten von linux beschäftigte.
ein umbennen der source-datei wird dieses problem ersteinmal beheben.
danke!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.