Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

changing owners of UNIX files using PHP

supabsupab Member Posts: 2
Hi everyone,
I have a question regarding PHP. I am working with file and directory manipulation. At first I couldn't get the folders that I had created to be deleted. I can do that now since I've put in my folder pathname. My only problem now is that my files are owned by 'nobody'. I was wondering how I can change that using PHP. Thanks guys

Comments

  • Mark StrijbosMark Strijbos Member Posts: 82
    : My only problem now is that my files are owned by 'nobody'. I was wondering how I can change that using PHP.

    You can't AFAIK. and you shouldn't be able to either as this would constitute a major 'backdoor' into any Unix/Linux based server
    Webserver threads are always owned by nobody to ensure they dont do too much harm

  • Shawn CarterShawn Carter Member Posts: 0

    ______ ( http://forcoder.org ) free video tutorials and ebooks about [ Scratch Go C# JavaScript Delphi PHP Swift R Perl C MATLAB Visual Basic C++ Java Assembly PL/SQL Visual Basic .NET Objective-C Python Ruby Logo ABAP Erlang Julia Hack Apex Ada LabVIEW VBScript Alice Lisp D Awk Fortran Dart Scala FoxPro F# Scheme Clojure Kotlin SAS ML Prolog Lua Transact-SQL COBOL Bash Crystal Rust ] _______

Sign In or Register to comment.