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

how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible? thanks

1 Answers  


What types of MYSQL function available for affecting columns

0 Answers  


Tell me how is it possible to know the number of rows returned in result set?

0 Answers  


What is the default session time in php?

0 Answers  


How to split a string into array using php?

0 Answers  






What is a http session?

0 Answers  


what method is used to get a user's IP address?

2 Answers  


What is echo and print in php?

0 Answers  


What is The difference between ' and " where they can ben in between or outmost and how

2 Answers   Avis Software,


Define metaphone()?

0 Answers  


Why json is used in php?

0 Answers  


How to read a file in php?

0 Answers  


Categories