How to add an existent security group to a folder with the read/write permissions?
I am having an access problem to some files and directories that I have tracked down to the group assigned to access them.    When I manually change the name of the group in the properties/permissions menu for a directory from the default setting (MyGroup) to www-data used by my Drupal Website, the directory error messages I get are gone.    There are a large number of files and directories that require this change.  If believe using chmod will change the owner which is set correctly and being new to Ubuntu, I am reluctant to experiment without a better understanding of how owner and groups work in the permissions settings.   What command changes the Group setting for a directory?
Why can't we initialize members inside a structure? Why can't we initialize members inside a structure ?  example:  struct s {    int i = 10; }; There has got to be the establishment of a universal auxiliary language.   Does the verb got add more to the context or is it there just for emphasis? Is it even grammatical?  Using Google-Ngrams I found a few similar versions as follow: . For example;   For many from the North, however, it has seemed difficult and there has seemed to be a problem. There has come to be a convolution between this become enmeshed concept of marriage as it exists in the sacred and how it exists in the secular. Most of the time since I have been here, there has appeared to be considerable feeling in the minds of a few. There has had to be some negotiation, obviously, but I think we provided what our soldiers need and what our country needs.   In general, I wanna know if 'have/has'+past-participle+'to be' is grammatical. Why was Peeves in Hogwarts? Peeves was a poltergeist. It generally irritated people and rather then helping them as well as making fun of them.   Why was Peeves in the school? What is/was the job or work assigned to Peeves? I recently bought a new laptop with following configuration   CPU: Intel i5 2450 RAM: 8 GB DDR3 GPU: NVIDIA GeForce GTX 520 1GB   I've setup a virtual machine using VirtualBox with Windows 7 as guest. I want to use my (host's) graphics card in it but the virtual machine is only showing 128 MB of video memory.  I am using Bumblebee and start the virtual machine using   $ optirun VBoxManage startvm "Windows 7"   Please suggest me how should I use my graphics card for 3D acceleration in virtual machine. Easy way to change apache www location How exactly do I install Minecraft Mods and what is Forge? I'm having a really, really hard time figuring out how to install mods on Minecraft. I've looked everywhere I can think of for help but the information is almost always outdated or unhelpful.  I've seen on several sites about the use of something called Forge. The Mod I want to use requires 1.6.4 Forge and I have both Forge and the Mod folders sitting in my downloads folder.  I haven't installed any kind of mods for any game prior to this and I have little clue to the technical side of Minecraft, so please keep this in mind when you give me an answer please!  Things that might help you figure out how to help me:   I want to play this mod  and am using the 1.6.4 Forge given on a link that website gives If I have Optimize iPhone Storage enabled on my iPhone and my phone storage is completely full, I understand that iOS will only store a low-res thumbnail of many of my photos on the device. (The full high-res version of the image will only exist in iCloud and on devices with Download and Keep Originals enabled.)  But when only thumbnails exist on the device, how does that work in relation to other photo apps on iOS? For example, do third-party cloud-based photo apps (like Google Photos, Dropbox's Carousel, or Amazon Prime Photos) have access to the full high-res images from the iCloud Photo Library? Or will they only see the low-res thumbnails in some cases? How do you return from 'gf' in Vim I am using Vim for windows installed in Unix mode. Thanks to this site I now use the gf command to go to a file under the cursor.  I'm looking for a command to either:   return to the previous file (similar to Ctrl+T for ctags), or   remap gf to automatically launch the new file in a new window. Parsing an Int from a string in javascript In javascript, what is the best way to parse an INT from a string which starts with a letter (such as "test[123]")?  I need something that will work for the example below.  My JS:  $(document).ready(function() {      $(':input').change( function() {         id = parseInt($(this).attr("id"));  //fails for the data below         alert(id);     }); }   My generated HTML:  &lt;select id="attribute[123]"&gt; &lt;!-- various options --&gt; &lt;/select&gt; &lt;select id="attribute[456]"&gt; &lt;!-- various options --&gt; &lt;/select&gt;   Thank you! Can I use set instead of List to resolve the duplicate id issue If you take a look into this issue     I have provide an answer of using set&lt;Sobject&gt; instead using list&lt;Sobject&gt;  i.e.  if( !contacts.values().isEmpty() ){   set&lt;Contact&gt; setContacts = new set&lt;Contact&gt;();   for( Contact objCon : contacts.values() ){     if(!setContacts.contains(objCon)){         setContacts.add( objCon );     }   }  update new list&lt;Contact&gt;(setContacts); }   even if(!setContacts.contains(objCon)) is not needed  if( !contacts.values().isEmpty() ){   set&lt;Contact&gt; setContacts = new set&lt;Contact&gt;();   for( Contact objCon : contacts.values() ){         setContacts.add( objCon );   }  update new list&lt;Contact&gt;(setContacts); }   So is there any condition/use case where this answer might fail? makefiles CFLAGS In the process of learning tinyos I have discovered that I am totally clueless about makefiles.  There are many optional compile time features that can be used by way of declaring preprocessor variables.  To use them you have to do things like:  CFLAGS="-DPACKET_LINK"        this enables a certain feature.  and    CFLAGS="-DPACKET_LINK" "-DLOW_POWER" enables two features.  Can someone dissect these lines for me and tell me whats going on? Not in terms of tinyos, but in terms of makefiles! Specifying latest revision of a particular branch with bower Which algorithm does the JavaScript Array#sort() function use?  I understand that it can take all manner of arguments and functions to perform different kinds of sorts, I'm simply interested in which algorithm the vanilla sort uses. I'm trying to identify fantasy book series I encountered some time ago. Here are things I remember:   it was a fantasy setting but with some s-f elements; with many worlds and possibility to travel between them; resembling  setting a little, the two main races were non-human and probably hostile to each other,  a labyrinth (?), which somehow played an important role in the plot, a protagonist was some kind of emissary and was sent on a mission to another worlds  time period: 80s - 90s    Does anyone know what it is the name of the series? How widely accepted are Euros in Hungary and how bad is the exchange rate practiced by shops/hotels? The official currency of Hungary is the Forint but so far everything I have looked for prices online, such as trains, buses and taxis, are quoted in Euros and Forints. Hotel reservation asked that I pay in Euros at the hotel. Considering that I will only spend a few days in Budapest, are Forints necessary? Or can I pay for transport, admissions and food in Euros? In such a case, how is the conversion rate set? Cast Double to Integer in Java When I googled stomach flu, there were many questions and statements like      How do you get the stomach flu?    Or     Difference between a stomach flu and food poisoning    Or      Six facts about stomach flu   When do you use the, a or nothing? And which should I use for a sentence like "I got a stomach flu from someone" ? When is the present perfect tense used instead of the past tense? When is the present perfect tense used instead of the past tense?    I know that the present perfect tense is used when some adverbs (e.g., never, ever) are present in the sentence; the same is true for sentences like the following one.     When you returned, I have been at home since 3:00 PM.   In which other cases should I use the present perfect? Do the following sentences require it?     I have walked downtown everyday for a year.        I have been at home since 3:00 PM. How can I strike through an expression (e.g. "2x") obliquely, e.g. from bottom left to top right, so as to indicate cancellation? With the \sout command from the ulem package, I can only strike horizontally. If I go to pickpocket a person who's recently caught me, I get an error saying I can't do it because they've already caught me.  How long does this last?  Is it indefinite, or will they "forget" after a certain amount of time?