This is regarding file uploading.
1. Who will be the owner of the uploaded file ?
2. What permission you will give for an uploaded file ?
3. What is mean by user, group and others and what kind of
permission you will give for each user and explain the
reason?



This is regarding file uploading. 1. Who will be the owner of the uploaded file ? 2. What permiss..

Answer / amitverma

1. Apache will be the owner of the uploaded file.
2. It depends upon the scenario on which we're going to use
the uploaded file(s), by default it's 660 file permission.
3. Basically a file in linux has permissions related to the
user (owner), group (owner group) and others (rest of the
users/groups). So accordingly we provide the permissions to
a file(s). Also, permission are basically related to READ,
WRITE and EXECUTE operations.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More PHP Interview Questions

Tell me is it possible to submit a form with a dedicated button?

0 Answers  


Do you know what is the use of rand() in php?

0 Answers  


What is cms php?

0 Answers  


How to make a file encrypt and decrypt?

4 Answers   3i Infotech,


How is the ternary conditional operator used in php?

0 Answers  






Which is not a php magic constant?

0 Answers  


how to insert, update data in database

4 Answers  


I have two radio button, i click one radio button display one dropdown box, one text field. and then click another radio button display one text field.so any one give me good idea plz.....i used <div id="" style=display:none> but not work..

4 Answers  


where do we use htaccess?

0 Answers  


What is an example of a variable?

0 Answers  


What is indexing how many types?

3 Answers   DLF, Infosys, Net Solution, Vcare,


How to reset/destroy a cookie in php?

0 Answers  


Categories