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

What is == and === in php?

0 Answers  


What are the design patterns in php?

0 Answers  


What is the difference between null and empty?

0 Answers  


What is the use of offset in mysql?

0 Answers  


How we get browser details of clients machine?

0 Answers  






How can we display the output directly to the browser?

0 Answers  


What are advantages of .htaccess?

0 Answers  


What is the use of mysql_fetch_assoc in php?

0 Answers  


What should be the length of variable for SHA256?

0 Answers  


display selected value in dropdown list through javascript without page refresh

1 Answers  


Explain what is the function file_get_contents() usefull for?

0 Answers  


how to include a datepicker in a form using php and mysql

2 Answers  


Categories