I have a usb drive with ext4 file system. It is empty. I can't create any files or folders because of the error displayed: "you have no permissions".
I want to mount the device /dev/sda3 to the directory /foo/bar/baz. After mounting the directory should have the uid of user johndoe. So I did:  sudo -u johndoe mkdir /foo/bar/baz stat -c %U /foo/bar/baz johndoe   and added the following line to my /etc/fstab:  /dev/sda3 /foo/bar/baz ext4 noexec,noatime,auto,owner,nodev,nosuid,user 0 1   When I do now sudo -u johndoe mount /dev/sda3 the command stat -c %U /foo/bar/baz results in root rather than johndoe. What is the best way to mount this ext4-filesystem with uid johndoe set?
How do we know the brain flips images projected on the retina back around? Why do we turn images upside down again rather than dealing with them directly, still vertically rotated after passing through our lens?   I don't see how that would cause any problems, and how we'd ever be able to figure out if we are presented with flipped images after getting used to interacting based on visual input, whether flipped or not.   What am I missing? jQuery :first vs. .first() What's the typical microclimate in the aircraft passenger cabin? When preparing for a commercial jet flight it'd be nice to know how warm my clothes should be so that I don't freeze after sitting for several hours in say +16 degrees Celsius (61 degrees Fahrenheit).  What's the typical temperature in the passenger cabin? Are there air drafts? How cold and how warm can it reasonably get? Since the  would it make sense to create a Stack Exchange site dedicated to homework help? It wouldn't have to be limited strictly to homework either, possibly including discussions of puzzles and brain teasers and possible approaches to solving them.  I have a programming background so I would be interested in helping with CS or math related homework, discussions of programming contest problems, etc. Topics don't necessarily have to be related to programming either. That's just where my interests are.  What are your thoughts? What is the use for non-inverting input resistance in a negative feedback opamp? Here in the Figure R5=50K. This resistor value is not in the equations to obtain output voltage, and in many tutorials non-inverting input is directly grounded without a resistor. What might be the reason to use it here? Firefox fails to update due to corrupted download (deb)  Preparing to unpack .../firefox_32.0+build1-0ubuntu0.14.04.1_i386.deb ... Unpacking firefox (32.0+build1-0ubuntu0.14.04.1) over (31.0+build1-0ubuntu0.14.04.1) ... dpkg-deb (subprocess): decompressing archive member: lzma error:  compressed data is corrupt dpkg-deb: error: subprocess &lt;decompress&gt; returned error exit status 2 dpkg: error processing archive  /var/cache/apt/archives/firefox_32.0+build1-0ubuntu0.14.04.1_i386.deb (--unpack):  cannot copy extracted data for './usr/lib/firefox/libxul.so' to '/usr/lib/firefox/libxul.so.dpkg-new':   unexpected end of file or stream Please restart all running instances of firefox, or you will experience problems. Use of Website Category Landing Pages OK, here's the situation: A reasonably simple website with a primary navigation menu including drop-down list of sublevels on hover. Each navigation level may have 3 - 6 sublevels below it, none more important than the other. For example see this mockup:    My question is: What should happen if the user Clicks on one of the primary navigation options (such as 'News') instead of just hovering over and choosing a sublevel?  My instinct tells me that I should allow a click of this navigation option; it's expected user behavior to be able to click navigation options. If clicked then a landing page of some sort will be present listing all the sublevels (latest news, blog posts, case studies'). However there is no content to add to this landing page other than presenting a list of links, which is pretty useless. I could pad it out by adding iconography and descriptions of the sublevels, but that's just content for the sake of it; does 'Latest News' really need a description in order to understand what it is?  If I don't include a landing page then clicking this primary navigation will have to open something but if I open the 'Latest News' page that risks the user not knowing about the other sections of the site.  (The landing page will be useful for breadcrumb navigation too, so I don't really want to do away with it).  Is my thinking that a landing page showing the list of sublevels actually useful even though there is no actual content to display, or is there a better alternative to go with? Profile changes in Q&A are not pushed to Area 51 I just noticed that the info text on  is an older version of the text in .  I found  from April 2016 where Adam Lear says:     Area 51 is a separate codebase. It's also heavily outdated. Currently we can push a profile update from Q&amp;A to Area 51, but not the other way around   I think the pushing isn't working anymore. I just updated my text on SO again and it was changed in all my accounts, except Area 51. Reference template variable within Jinja expression There was the following paragraph in the article that came under the title, “GOP and the rise of Anti-knowledge” written by  (October 29, 2015):     “English unfortunately doesn’t have a precise word for the German   “Fachidiot,” a narrowly specialized person accomplished in his own   field but a blithering idiot outside it. In any case, a surgeon is   basically a skilled auto mechanic who is not bothered by the sight of   blood and palpitating organs. We need the surgeon’s skills on pain of   agonizing death, and reward him commensurately but that does not make   him a Voltaire.”    In Japanese we have a word, 専門バカ, of which literal translation is “specialist idiot” meaning exactly same as defined the above - a narrowly specialized person accomplished in his own field but a blithering idiot outside it.  I’m really curious about the absence of short descriptions of the specialist who knows nothing more than his specialty area in English like German “Fachidiot,” and Japanese "専門バカ."  Isn’t there really any short word counterpart to “Fachidiot,” specialist’s ignorance, for instance, in English?  P.S.  I found "narrow-minded specialisit" as a German-to-English translation of "fachidiot" in the web site, Interglot translation dictionary. I used python add in to make a tool bar in Arcmap that edits features on a map. It works on a file geodatabase, but not on an ArcSDE version one. I've been getting an FDO error: 0. The solutions that I've found all involve opening a workspace, but I'm getting an error doing that as well. Here is the relevant portion of my code:          outFolderPath = r"U:\tempStuff"         outName = "Stuff.sde"         databasePlatform = "SQL_Server"         instance = "SQL Server"         arcpy.CreateDatabaseConnection_management(outFolderPath, outName,                                                   databasePlatform,                                                   instance)         print "Centroid of buidling:(%r,%r) Side length: %r" % (xCoordinate,                                                                 yCoordinate,                                                                 bob)         print "workspace is %r" % outName #outName is workspace          #Start edit session with an undo/redo stack then start         #edit operation         print "Starting editing"         edit = arcpy.da.Editor(outName) #outName is workspace Line 86         edit.startEditing(True, True)         edit.startOperation()          #stuff happens          cursor = arcpy.da.InsertCursor( fc, ["SHAPE@"])         cursor.insertRow([stuff])             #stop the edit operation and then save changes         edit.stopOperation()         edit.stopEditing(True)          del cursor         print "Building should be drawn"   This is the exact error I've been getting:  Traceback (most recent call last):   File "C:\Users\153289\AppData\Local\ESRI\Desktop10.3\AssemblyCache\{0BEF4E61-6332-4BCA-A908-959CA3C0B4E7}\leetScripts_addin.py", line 86, in onClick     edit = arcpy.da.Editor(outName)#outName is workspace RuntimeError: cannot open workspace   What's am I doing wrong in my code? Formatting floats differently based on placement if there is two modules A and B and both have same user_login hook. so when i log in. out of A_user_login() and B_user_login() function which one called first.and how drupal decide execution order of these two function bash history for current session Maybe I'm overlooking something but is there a way to get your current bash history for the current session you are using like  if i run  ssh host $ pwd $ ls $ cd /tmp   I just want to see those 3 commands and nothing else For all $a, m, n \in \mathbb{Z}^+$,   $$\gcd(a^n - 1, a^m - 1) = a^{\gcd(n, m)} - 1$$ How do I show that $\sum_{cyc} \frac {a^6}{b^2 + c^2} \ge \frac {abc(a + b + c)}2?$ Let $a, b, c$ be positive real numbers, show that  $$\frac {a^6}{b^2 + c^2} + \frac {b^6}{c^2 + a^2} + \frac {c^6}{a^2 + b^2} \ge \frac {abc(a + b + c)}2.$$  I think this is likely to turn out to be proved by Hölder, but I can't see how. Any hints will be appreciated. Along the lines of , what reasons are there (if any) to favor \( ... \) over $ ... $? Adding admin-ajax.php to the frontend. Good or bad idea? I love admin-ajax.php. But I hate having to localize in order to point frontend scripts to it, and I wish there was an equivalent, easy-to-find file for themes. (It also just bothers me to see frontend requests go through "/wp-admin/". No practical reason, just looks ugly IMO.)  So I've simply copied admin-ajax.php to the root dir at "/ajax.php", adjusted the include paths and removed the WP_ADMIN constant definition. Seems to work like gangbusters (I can now just direct all my frontend AJAX requests to /ajax.php! And I can still use the normal wp_ajax hooks in my plugins!).  But is this safe? What might go wrong? Since this isn't built into core, I assume there's a good reason as to why not. But looking through the code, I can't see any immediate problems.   You're smart--tell me if this approach is crazy. Or if there's a simpler method that I'm overlooking. Title, section headings disappears when I use \usepackage{forest} with IEEE Access template When I include a  \usepackage{forest} all colored text title, section headings disappears with IEEE Access journal template How can I tackle this problem? In general what is the approach to switch the desktop environment or window manager on Ubuntu? The main difference between stock Ubuntu, Kubuntu and Lubuntu is supposedly the use of Unity vs. KDE vs. LXDE.  However, in order to try various desktop environments and window managers I don't want to have to reinstall the respective flavor from scratch just to get a particular desktop environments or window manager. There probably is an easier method than that.  The question: How can I easily test different desktop environments and respective compatible window managers (say KDE, LXDE, Unity, GNOME, XFCE and StumpWM)?