No file access permissions when using Ivy - ivy

I'm using ivy to download dependencies, but the build process failed, and the error infomation showing below:
/workspace/jenkins/workspace/XXXModule/src/build/build-ivy.xml:86: impossible to resolve dependencies:
java.io.FileNotFoundException: /homes/babel/.ivy2/cache/resolved-xxx-xxx-caller-working.xml (The file access permissions do not allow the specified action.)
It seems I have no permissions to access the caller-working.xml in the cache directory.(The script is running on an IC Server, so maybe I actually not have the permission). But I want to know why Ivy need to access that file, what is the file used to do? What permission do I need?

Most likely your problem is caused by a mismatch between the local user UID and the UID on the remote file server.
I highly suggest that you use a local cache and not share it across the network. The cache is exactly that, a local copy of previously downloaded files, it is not a repository.

Related

How do I fix Directus error code 3 when downloading stored files

I can store files to the specified storage location via the GUI. I can see the files are in the storage location.
When I try to download them using the GUI, I get this every time.
{"error":{"code":3,"message":"Unauthorized request","class":"Directus\\Exception\\UnauthorizedException","file":"\/var\/www\/directus\/src\/helpers\/app.php","line":287}}
When I try the links from the File library, I get the same error.
I found some old topics concerning a "_" project. I do not see any "_" entries in my project.php configuration.
Everyone has read permissions for the storage directory.
The rest of the system appears to run without error.
check the folder in the server and what is been set, the default should be, like
So then if you want to access the 300x300 the URL should be like:
domain.com/public/uploads/Directus/generated/w300,h300,fcrop,q80/file-name.jpg

Windows VB.NET Application exe run as administrator

I created an application that is installed from the setup file which installs all the files required by the program. When I update the application, I can only share the exe files of the update application to the user and not the entire installation package/setup file(not possible due to constraints)(Reason: so that he can run the application with out me having to make a new installation package/setup file and user having to install from the setup file) I am unsuccessful in my attempts so far. Can any one suggest if this is possible or if I am doing something wrong?
P.S : I have added the manifest file with privilege of always working as an administrator with out which I am unable to run my base application ( Error : Access to the path c:/xxxx/Tnsnames.ora denied)
Manifest file is the answer.
Manifest file is a file in VB project which contains the information
about the contents of file distribution. It may contain checksum or
hash to verify that file is original and isn't modified in any way.
Modifying a file will change its checksum value.
You need to replace asInvoker with requireAdministrator or highestAvailable
Updated link:
Full tutorial

Showing ‘fetching’ for user permission in plist file inside the cocoa app bundle

In my cocoa application, i am using one plist file(preference.plist) to save the preference inside the app bundle. I am using package maker to pack my app(Business requirement). For that, i will build my app and export as a Developer ID-Signed application. If i check the sharing and permission info of my app, it will show like this
In my local system, i can write on this preference.plist file with this user permission. If i install the same in my client machine, it shows fetching for all the time.
In this case, i can't write in preference.plist file. Don’t know why this strange behaviour occurs for my app. Hope the above scenes will explain my problem. Please provide the solution to accomplish this issue.
You should not store writable files in your app bundle, especially if you then intend to sign the bundle.
If you cannot store your preferences in your apps user defaults then your app should create a directory to hold its files, usually named after its bundle ID, in user or system Application Support directory - you can find its URL using URLsForDirectory requesting NSApplictionSupportDirectory.
Doing the above should solve your permissions problem (and work correctly if sandboxed).
HTH
Yes, i got a reference from this link
When copying a file between one system and another, occasionally both the permissions and owner for the files will be incorrect. You may need to change the owner of the file because the file is unable to be edited by the user due to permissions issues.
We’ll rely on the “chown” command to change the owner of a specified group of files, right from the command line.
chown command:
sudo chown -Rv $USER /Applications/TEST.app
This command works fine. Now in permission area, its not showing "fetching". I have included this command in package maker post script.

Jailshell on cpanel - Allow access to additional folders

I've not been able to find a solution to this problem.
I'd like clients I give jail-shell access to (rather than normal shell access) the ability to run commands I allow access too, such as Git.
Git requires you include the folder /usr/local/libexec/git-core but I can't work out a way of including the folder for jail-shell access ?
Perhaps it's not even possible, but I'm keen to find out.
You can mount additional directories in /var/cpanel/jailshell-additional-mounts
If the file doesn't exist create it and put the directories which you want to allow into it, one directory name per line:
/usr/local/libexec/git-core
/usr/local/lib
...

Getting jQuery Error on using ezzeelfinder

Hi I am trying to use ezzeelfinder as file manager
I am getting the following error:
TypeError: jQuery(selector).elfinder is not a function
Query(selector).elfinder().elfinder("instance");
I am using the exact code from the Yii extension website. I do not know what is going wrong, I am using windows 7 with Apache (XAMPP)?
Continuing our discussion from previous ElFinder question let me try to explain more.
Can you look at what is inside elfinder.min.js file included from assets directory (you can use Firebug: Net tab > expand request of /assets/abcdef/elfinder.min.js > Response tab)? It wasn't a script (but some HTML with error) when I've reproduced a problem with such error. So if this JavaScript file is not included then there is no elfinder method extending jQuery and the error message you receive is fair.
Seems to me that this one is a permission issue. elfinder.min.js file cannot be published to assets directory for some reasons. Make sure that all permissions to elfinder.min.js file WITHIN extension's directory are granted. After granting the permissions to this file clean up assets directory and try again. At last, check whether the script has been really published to assets directory and has granted permissions there.
I don't know whether it will be helpful for you but I have an archive with demo files that can demonstrate extension's basic usage (made under Ubuntu though): http://ezze.org/yii/ezzeelfinderdemo.zip
Extract the contents of this archive to the root folder of Yii basic application created from command line using yiic script.