Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the value of current session id?

1010


Tell me is it possible to remove the html tags from data?

953


How do I stop php artisan serve in windows?

1010


What is singleton class in php?

1041


What is rest api in php?

994


Explain php split() function.

1046


How to get the directory name out of a file path name?

1006


Does PHP 5 support exceptions? State Whether True or False?

1172


What is htaccess? Why do we use this and where?

1033


How to return ascii value of character in php?

1264


What is the $_ server php_self variable?

1067


How to remove white spaces from the beginning and/or the end of a string in php?

1048


Explain the types of functions for Splitting String?

1060


which will print out the php call stack?

1037


Tell me how can we automatically escape incoming data?

983