I managed to change DocumentRoot directory form /var/www to /home/user/www and working fine except the problem that I can not copy/paste or even delete any file without root access.  Since I use SASS compiler software in which some files are compiled and outputted within the project directory. It is no more output any files and give permission denied.  I need help making all DocumentRoot sub folders and files have full permission without root access.
I want to stop having to use sudo everytime I work in /var/www. How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.
Can Ubuntu really run all Windows programs? Lightning-Web-Components Select Option prepopulate value Let's say I have a Lightning-Web-Component with a select list with dynamic options where the value is a user Id and the label is the user's name:  &lt;select class="slds-select" onchange={handleSelectChange} disabled={isDisabled}                           data-value={step.selectedUser} &gt;                                 &lt;option value=""&gt;--None--&lt;/option&gt;                                 &lt;template for:each={step.approvalTemplateStep.Approval_Step_Users__r} for:item="user"&gt;                                     &lt;option key={user.key} value={user.User__c}&gt;                                         {user.User__r.Name}&lt;/option&gt;                                 &lt;/template&gt;                             &lt;/select&gt;    How do I prepopulate the select option with a value? I have the value I want to be prepopulated in the variable called step.selectedUser.  Here's what I see on page load:   Here's what I should see: Add source to figure caption How can I add a source to a figure? I need to add \ref, \cite or just free text. Something like that: \begin{figure} [ht]   \centering   \includegraphics[width=0.95\textwidth]{res/figure.pdf}     \caption{Caption}     \source{\ref{},\cite{} or free Text}   \label{fig:gliederung} \end{figure}  Should give me:  The source shouldn't appear in \listoffigures. What equipment is necessary/preferred for real estate photography? What equipment is necessary for real estate photography, and what is preferred?  I'm starting into real estate photography, and I'm trying to figure out what I need and what I will want to plan on adding to my kit as I go.  I'm thinking especially along the lines of lighting equipment and lenses (focal lengths).  For example, is an ultra-wide actually necessary? Or is a general walk around sufficient. The title says it all, just wondered if accessing the iOS will count towards your consecutive visited days. Which characters are valid in CSS class names/selectors? What characters/symbols are allowed within the CSS class selectors? I know that the following characters are invalid, but what characters are valid?  ~ ! @ $ % ^ &amp; * ( ) + = , . / ' ; : " ? &gt; &lt; [ ] \ { } | ` # WiFi problems (Atheros driver) with FreeBSD 11 With FreeBSD 10.3 my Atheros card worked fine and showed up as /dev/ath0. Now with FreeBSD 11 this is no longer the case, though the module is loaded and it seems the system recognizes the card:  root@igloo:~ # sysctl net.wlan.devices net.wlan.devices: ath0   Still, ath0 cannot be used:  root@igloo:~ # ifconfig wlan0 create wlandevice ath0 ifconfig: must specify a parent device (wlandev) when creating   What must I do to use the card? I was working on historical data looking for anomalous patterns that we would not expect to occur at random. I'd like to create a scheme to analyze data and markets to test for statistical significance and consistency over time.  Question : Are there some tools we could use to evaluate the nonrandomness of a database? What do we use usually to say that something is random or not (statistically)? Figure we work with change in some value over time. I need to do this for displacement mapping, subdivision gives a bad result and makes triangles distinguishable.    Related to:   But I get the error "No other selected object found to use for projection". What's the difference between a temp table and table variable in SQL Server? What's the difference between scaling text via transform and changing font size? Is there a difference between using Transform commands to scale text and altering the size of the font via Character panels?   I'm working in Photoshop CC How do I start with in-camera JPEG settings in Lightroom? I'm a novice shooting in RAW and find that half the time my camera JPEG images come out better than my Lightroom tweaks to RAW files.  So to give myself a better start I'd like to apply the JPEG settings that are applied automatically by the camera to my RAW files in lightroom so that initially my RAW files look exactly like the JPEG files.   How can I do this? Does iCloud Two-factor authentication send a code to the same device as a log in request? My Apple-ID (e.g., on  ) is set up to require entry of a 6-digit code sent to my registered Apple products.  This code is being sent to the same device I'm currently requesting to log in. I feel this absolutely defeats the purpose of this 2-Factor Authentication: If a person knows my password, this person can receive the code on that device, and access my apple account without any problems.  Is this a bug or can I set up / change how this security step works? Tensor product of a sheaf of module and a residue field Let $S$ be a scheme over a finite field $\mathbb{F}_q$ and $\mathcal{L}$ an invertible sheaf on $S$.   In Pink's article (, see section 1.4 on page 13), he states that:  For any section $\ell\in \mathcal{L}(S)$ and any point $s\in S$ we let $\ell(s)\in \mathcal{L}\otimes_{\mathcal{O}_S}k(s)$ denote the value of $\ell$ over the residue field $k(s)$ of $s$.  My question is: what is the definition of $\mathcal{L}\otimes_{\mathcal{O}_S}k(s)$?  We know we can define the tensor product of two $A$-modules or of two $\mathcal{O}_X$-modules, but what is the tensor product of an $\mathcal{O}_X$-module and a field? "This webpage has a redirect loop" in Chrome but working fine on FF and IE? Windows 7 task bar at autohide, make it totally disapear? My desktop look is empty so all I have is a nice wallpaper. My Windows taskbar has the "Taskbar Appearance" setting to "Auto-hide the taskbar". Although hidden, it leaves a thin top layer so you can still see it a bit, and where the pinned shortcuts are. Is it possible to totally have it hidden without a trace? This is a serious question. It really bugs m. What geometric object is given by this equation? What geometric object is given by this equation?  $x^2+y^2+z^2+2xy+2xz+2yz-x-y-z-6=0$  Maple says it's a hyperboloid of one sheet, but is there a way to show it without going the long way by using the principal axis theorem? Change Detection using Raster Calculator I'm currently analyzing the change detection for urban expansion over a decade starting from 2006-2016. How can I use raster calculator in order to know the changes? For example, from agriculture to urban area and etc. I already classified the images into 4 classes, urban area,vegetation,water bodies and barren land. At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it.  Are there some possible reasons for the player's file system to change permissions in this way?  I tried using chmod:  $ sudo chmod a+rw SGTL\ MSCN/  chmod: changing permissions of `SGTL MSCN/': Read-only file system   SGTL MSCN is the mount point of the digital audio player.  What else can I try to make it writeable? Evaluate $\lim\limits_{n\to\infty}\frac{\sum_{k=1}^n k^m}{n^{m+1}}$