devtools::check permission denied in Build panel - rstudio

Running devtools::check in the Console works but doing it through the Build panel fails with: cannot create file '/mnt/my_package.tar.gz', reason 'Permission denied'
What can I do to change the folder where the check is done from? I've tried with --output=/mnt/code/tmo --path=/mnt/code/tmo in Build options without luck.
I am using R Studio Server 1.4.1106

I this there is something wrong with the permissions in your system. Open RStudio after right-clicking on the icon, choose Run as Administrator and this should solve the permission problem. The reason for this is that some permission only belongs to the administrator. Good Luck.

Related

Cannot delete __jb_old___ file

It seems like WebStorm created a file login.component.ts___jb_old___ and I can't delete it or move it.
I've gone into settings and turned off safe write, and restarted WebStorm, but I can't delete the file, which is making me unable to run my docker container.
Doing an ls -ll prints
-rw-r----- 1 Uknown+User Unknown+User 2308 Feb 6 11:29 login.component.ts___jb_old___
All of the other files in the directory have the correct permissions and are owned by me.
I'm on Windows and I am the only user on the computer and set as Admin, I've opened an Admin command prompt and still get access denied when trying to change permissions of the file or delete the file.
When I open File Explorer to try and change it through the windows gui it tells me You do not have permission to view or edit this object's permission settings.
Any ideas on how I can delete this file?
You shoud close your webstorm app.
I delete it success but created again when i refresh directory.
I restart the PC then this problem resolved...
A working fix.
IntelliJ 2019.2.2 w/ PyCharm (Latest release)
After updating to 2019.2.2 I was having this error as well. The problem I was facing was on running webpack-dev-server.
Found the recommendation to disable 'Safe writing' - which resolved my issue.
Settings > Appearance and Behavior > System Settings.
Hope this helps!

Unknown error when trying to archive for publishing Xamarin.Forms.iOS

I am currently releasing an update for an app and i can successfully debug the project. Now when i try to archive for publishing to create the .ipa file I recieve the following error:
I have tried to delete the obj + bin folders in my iOS folder and then clean/rebuild + try again but the error still remains.
Has anyone come across this problem before? The errormessage isn't giving me much information to work with.
try to delete your current certificate in keychain and add it again.
I also faced to this same exact problem when I'm going to debug the xamarin.iOS app using Visual Studio 2015. To solve this issue, steps are as below,
Open Terminal in your Mac and type this command:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s /Users /YOUR_USERNAME/Library/Keychains/login.keychain-db
Then it will prompt for your Keychain access password.
(If it repeatedly promopt that your keychain access password is incorrect, go to "Keychain Access", select and deselect the lock. Then enter your password when asked for it.
Re-enter the above command in the Terminal. Give the password.
Clean and build your project and Run it.
Now it will work definetly.

Unable to remove directory app.publish

I can't change permissions on folder.
If I try to delete folder I get a "access denied".
It does not help to open VS with admin rights.
The only thing that works is signing out.
I am running Win8
Make sure you are not running any version control program in the background that locks these files. I had this problem and solved it by closing EasyMercurial and re-build.

Permissions and SVN Updates on Windows Server 2008: same folder & SVN account, different Active Directory users

We're experiencing strange permission issues with SVN after switching from Windows Server 2003 to Server 2008.
On our standard build box there is a folder (C:\SVN_Code_Folder) which AD_User_A associates with a SVN repository using SVN_User and TortoiseSVN 1.7.6
When using Windows 2003, when AD_User_B logs into the box and tries to Update, Switch, Merge the SVN_Code_Folder with SVN_User, the command is executed.
It Windows 2008, it fails with the message:
Command: Update
Error: Working copy 'C:\jboss-4.2.3.GA\server\New folder' locked
Error: sqlite: attempt to write a readonly database
Error: sqlite: attempt to write a readonly database
Completed!
Attempting to unlock the file, which was never locked, via the context menu is met with the following message:
There's nothing to unlock. No file has a lock in this working copy.
I've played with the permissions of the folder and I've discovered that giving "Domain Users" control over the folder fixes the issue, but I would prefer to not have such a broad permissions. I've tried granting the same permissions to individual users and a SVN-group, but these too did not work.
What am I missing?
Is this an improper use of SVN?
Can 2 different Domain users update a folder using SVN without removing the .SVN file?
For future reference...
I had this same problem with some WC's that I copied over to my new laptop's hard drive, from a file share on my old machine.
It turned out that the problem was solved by giving myself (as opposed to all domain users, or any other group) full control over the folder.
Did you check the svn service user on the win2008 machine?
Does that user have local administrator privileges and also have permission to these folders on c:?
After changing anything restart the service.
For me change folder permissions did't help, but I have update for several directories in a batch script so I solved this by
cmd -> Run as administrator -> start update script

idea(64).exe "Couldn't load main class" unless run by administrator

I just lost my admin privileges on my windows 7 (company policy). Now when I try to start idea.exe or idea64.exe I get a dialog with:
Couldn't load main class
If I right click on the executable and "run as administrator" it works.
Maybe someone face this issue before and know what permissions need to be added to what directories?
Make sure that IDEA can read all its files from the installation directory and read/write all files in config/plugins/caches directories.

Resources