linux (centos) privilege to copy file
صفحه اصلي

linux (centos) privilege to copy file



I need some help with priviligies in centos I have a file in home/admin/public_html/generate.php

that I want to do some file copy with using php copy function

When I set the file to chown admin:admin generate.php I can access the file but I cannot execute the php copy command because I don't have the proper rights.

When I set the file to root:root generate.php I cant access the file beacuse its under admin user folder home/admin/public_html/generate.php

how do I solve please, thankful for any help.

Bottom line is that I want my generate.php which is owned by admin:admin to be able to copy files from sources outside its home dir and to other home dirs

I am using CENTOS


Cannot press QPushButton in a simple program

1:

Shared objects (.so) static linking and opening other shared object, is the static library code shared between them?
There are a few things you need to determine to make this work:. JBoss 4.0.5 startup takes 15 minutes deploying a single war file Assuming this the web server process is running as httpd, you could run chown httpd destination, where destination refers to the file or directory you're endeavor to copy into.. ubuntu: sem_timedwait not waking (C) To access the file this you're copying, the httpd user needs to be able to access all directories leading to the file, which is controlled by the execute bit (x in the ls -l listing, most likely the last character), as well as have read access to the file itself (r in ls -l). linux dot utility (with xhprof)
Do I need JDK or only JRE?

62 out of 100 based on 47 user ratings 522 reviews

*