But I'm still unsure of the pretty way to get the parent path. I thought of using sed to demove the "Uninstaller" part of this path, but is there an elegant way to get the path to Myapplication folder to delete it?
I got a function that checks whether the passed in file name is . or ... But I don't know how to name it properly. Something like IsCurrentOrParentDirectory() is ambiguous, since the function takes a file name and not a full path. (Intuitively a fellow programmer would expect passing /usr/ while I'm in /usr/ would return true, while this is actually not the case.)
The special filename dot shall refer to the directory specified by its predecessor. The special filename dot-dot shall refer to the parent directory of its predecessor directory. As a special case, in the root directory, dot-dot may refer to the root directory itself.
The only term I know of from the *nix world is CWD for Current Working Directory. That is actually quite often used. See, for example /proc/$$/cwd which is a link to the directory you run the command from.
File structures can be thought about as a tree data structure. Here, generally "parent" and "child" or "daughter" are sufficient to convey meaning. You'll see data structure textbooks carry this convention
I went through the available AEM documentation to configure a dispatcher. I was able to do so and mask my publisher behind a dispatcher. Rendering is working fine but the content is not getting cached and I get the below error in my dispatcher log.
2. I start my apache (where disp is configured) as 'sudo service httpd start'. Since it's the sudo user, I assume it should be able to replicate the /content/..../... dir structure on the specified docroot location as is on the defined render/publisher. But I get the 'Unable to create parent directory /content/abc: Permission denied' error and cache is not getting created.
apache runs as the user configured in httpd.conf in the user directive, and by default is 'apache'. It starts as root to bind to port 80/443 and immediately switches to the user defined in httpd.conf. What user do you have apache running as? Make sure the is writable by the user apache is running as (having it owned by that user is a good idea) and restart apache.
I've got this exact same issue and I tried both suggestions mentioned here - changing the doc root ownership to apache user and also following the steps for SELinux from the docs but the issue still remains.
To identify the apache user open httpd.conf and search for "User _www". Usually it is present inside section. Here _www is user name and cache directory can be checked under /cache section of dispatcher.any. Check /docroot property like /docroot "/usr/local/var/www".
The one other thing I did that I think could be missing: Each of my subprojects has its own build.gradle file. With that and also the other two files you mentioned (the other two go in the parent directory), I can build both subprojects from the parent directory.
//EDIT: also you could reassign a mouse extra button to keyboard keys combo (like ALT + Up Arrow or something else), and change the shortcut for parent folder in Dolphin to that keys combo. For example I use evrouter (an outdated piece of software that still works to this day) and imwheel to do this kind of stuff with my mouse as there is no official support from Logitech.
I am looking for something I can add into the end of this command that will change the filenames to fred.txt, etc. and then later move the file into the parent directory to eliminate the extra layer of directories.
I suspect you are doing the same thing as you did when you installed your first Moodle, trying to install the folder structure to the root and the moodledata folder is trying to be written in the root parent, for which you do not have permission to write to. Although it looked OK then, permissions were set appropriately, you were trying to install in the wrong place. If you have the time, install to your home computer, thoroughly test it then migrate via ftp to the root of your site. That will work, as long as you migrate the moodledata folder and the database is already in position. If you can, you might want to use phpMyAdmin and backup your database to restore on your site.
Now I am on new subdomain ausmacenter.hostingas.in and i am trying to install the latest moodle according all instructions. I am attaching my image of structure and another image with trial to install:
OK, I think I have it now... the installer is trying to put the moodledata folder into the same folder level as public_html and the moodle into the public_html/moodle folder. It is not working because you do not have write priveleges in the root folder. One way around that could be to set the moodle into a public_html/public/moodle folder and the installer should then be writing the moodledata folder to the public_html/moodledata folder. Whether this causes any security problems or not is an issue you may have to look at.
When you cleaned out the previous installation, did you also delete the database? I am not sure why this is not working, but if you can do so, just clear everything out of the root folder, keeping only what you need. If public_html is clear, and you have read-write access to the \ folder, make sure you actually do have that access, then it should all work as it is supposed to.
But this will not help when I can't install Moodle. I have already tried all variants: I unzipped even Moodle in cpanel: in root, in one or other folder - no posibilities to install. The same errors...
I took another place in other server and did automatical installation with help of Instalatron. I got installation in minute but I wonder because Moodle 2.02 is diferent from previuos versions. It is dificult to have and to find active section of Administration; thefore I can't for a while import my previuos courses which I have backed up
I know this doesnt help but I also get this very annoying error message and have failed to install moodle. I have chmod 777 all doirectories and still no joy. Anyone any more information, very annoying.
Since the shortened prompt only changed on a directory change, you don't need to recalculate it each time a prompt is displayed. Bash doesn't provide a hook that runs on a current directory change, but you can simulate it by overriding cd and its cousins.
Adding export PROMPT_DIRTRIM=2 to your bash file will do it for recent versions of bash (v. 4+). Specifically, this alters the appearance of the \w entry in the PS1 environment variable from full path to last two entries.
After Effects warning: The directory C:\Users\...could not be created. Please check the parent directory protection or permission rights." Other programs have loaded and work properly. Any ideas or fixes?
Sadly this was not the answer. I can't seem to get the program to form the proper pathway. After the above error message the next screen I get is "After Effects can't continue: The Common Extensibility Platform (CEP) suite couldn't be loaded. You many need to reinstall." I have done this several times with no luck. I really wish error messages would come with a "How to fix error" link! lol Most of us have no idea what these messages mean!!
Navigate in FINDER to the folder it is trying to create. delete folder "16.1". Create a new folder called, "16.1". Open that folder and create a folder inside it called, "OriginalUserWorkspaces". Try and reopen AfterEffects, and it should now have all the permissions it needs to complete the process.
I actually have a crate that contains a dependent crate as sub-folder. While the parent crate requires a ./.cargo/config.toml file to successfully compile the crate in the subfolder should be build without thus settings. According to the documentation cargo will merge config files if they exist along the search path. However, I'd like to skip the usage of the parent folder cargo config file usage.
In fact the thing is that the parent cargo config file contains a specific build target, but the dependent crate in the subfolder (it's a proc-macro crate) need always to be build for the host system.
There were some other solutions proposed in this recent thread. I don't think any have been adopted yet, but they might be available in the future: Problems of `.cargo/config` files and possible solutions - cargo - Rust Internals
In this structure you have a directory called " Livraison - Transformation globale AIXM 51". Inside this one, you have the "master" workspace which call all the workspaces one by one in the various directories you can see on the picture.
The issue i have : when i changed the master directory called "Livraison AIXM 51 V2.0" in another directory, i lost the path of the workspacerunner parameter (show the picture). I would like to use "FME_MF_DIR" and i want to go in the parent directory and go inside the subfolder to reach the various workbenchs, but the absolute paths are used in my case.
When i change the place of the directory "Livraison AIXM 51 V2.0" which is the main directory with all the subdirectories inside, the workbenchs are called with the respect of the new path without having to change the initial workbench.
I'm a little confused why this is needed as clang-format always read up the directory tree until it see a .clang-format file, perhaps I don't quite understand the use case. Can't you just have a different .clang-format in the subdirectory?
It's my understanding this is akin to the InheritParentConfig option found in .clang-tidy.
The idea is you can put a .clang-format file in your project root, then for specific directories you can add another .clang-format file that modifies that root .clang-format
The example here is a test folder that needs extended lines but want the rest of the formatting to match the root folder without having to copy the contents of the root and make the small edit.