Permission denied to view directory created by application

I'm working on creating a package for the AUR, and I have this problem. The package is Angband 3.1.0beta, FYI.
The program stores its information in a directory called "~/.angband". The problem is, since the program is running as root (needed for scores, etc.), it creates the directory as root. It seems that since it was created as root, normal users can't view it or anything.
How can I possibly fix this? I'll appreciate any help I can get.

tdy wrote:The usual workaround for games with high scores is to install with root:games ownership and enable setgid.  That lets you view scores and play as a regular user.
Thanks, worked like a charm!

Similar Messages

  • [Solved] Permission denied when trying to create aur4 repo

    I'm trying to follow the steps here to migrate my aur packages to aur4.  I've created my public key, edited ~/.ssh/config as described, and copied my public key file to my aur4 account settings.
    When I run my git clone command I get this:
    $ git clone ssh://[email protected]/wcgbrowser-git.git
    Cloning into 'wcgbrowser-git'...
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Is there a step missing here where I need to create the repository on aur4 first, or is that done automatically when I clone?  Seems logical, but I couldn't find a way to create the repo either in the web interface or on the wiki.  Or is this indeed an authentication issue of some kind?
    Last edited by lykwydchykyn (2015-06-08 18:53:57)

    lykwydchykyn wrote:is this indeed an authentication issue of some kind?
    The "Permission denied (publickey)" message suggests that this is the case. Double-check that your ~/.ssh/config and the public key on the AUR web interface are correct.

  • How to grant new user permission when the acct is created from application?

    Our application team will randomly create users in DB. But the new user need to have the permission of "execute on DBMS_SNAPSHOT, DBMS_STAT, DBMS_SYSTEM" being granted from sys. We need to grant it automatically after the user is created. I was thinking about using DDL "create" trigger or just DDL database trigger. Once the trigger is fired off, issue the grant statement. We can capture the create even for the user, but got error when running the grant in the trigger or from the procedure called by trigger. My guess is that the "grant" is a DDL and DDL trigger cannot start another DDL statement. I also think about put the insert trigger on the sys.user$. But oracle would not let trigger being created on the sys tables or views.
    What can we do now? The other option, I am wondering if there is a system package that can call external program (like Unix shell script) from the DDL trigger, to let the shell script do the grant, since this may not be considered as the same execution tree. Do we have such package to call from database to the UNIX shell script? Or for such need, do we have any other option?
    Thanks for help!
    Edited by: user5973955 on Oct 6, 2010 3:51 PM

    The application teams do not have the sys permission. If the application has privileges to CREATE USER, it can then issue GRANT
    Change the privileges.
    But they want this being resolved from DBA.DBA did NOT make this problem.
    The flawed application created the problem.
    Alternatively CREATE PROCEDURE that can issue GRANT & have application call this new procedure.

  • Permission denied with makepkg

    This is my first (and second) try at makepkg. I believe I've followed the makepkg wiki closely, just experimenting using the example package rufus. I also tried with a different package and got the same error.
    bsdtar: Failed to open '/home/user/packages/rufus-0.7.0-1-i686.pkg.tar.gz': Permission denied
    ==> ERROR: Failed to create package file.
    Any insight would be greatly appreciated

    Solved
    I have to chalk this one up to operator error. Much too long a day and too late at night. I created that directory as root, just typed it out as a user and never saw the error. Next morning I had an idea what I did, I just haven't been able to get back to it till now
    Thanks for your input

  • Cannot create file "/Applications/ " Permission denied.

    When installing new software Iget the following error message: "Cannot create file "/Applications/ ". Permission denied. I have used disk utilities to try to repair my permissions with no sucsess. I have also tried reinstaling the software. Any advise is appreciated.
    I am using Mac OS X Yosemite 10.10.2 and Safari 8.0.4

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • How Create Virtual Directory On Oracle Application Server 10g on RHEL 5

    Dear Sir
    i have deployed my application on OAS 10g on RHEL 5 ,,now since my application is calling some pro*c programs and then they generate some text based reports on fixed folder named
    /treas/temp
    now i simply have to open these text based reports on web browser
    WEB.SHOW_DOCUMENT('/forms/pcreport/'||v_filename);
    but for that i need to create virtual directory name : " /pcreport " without code
    kindlly help as its working on my developer suit 10g i created a virtual directory in my application server by making following entry in "orion-web.xml" file
    <virtual-directory virtual-path="/pcreport" real-path="/u/treas/temp" />
    kindlly help

    (My paths shown, yours will be different)
    In a text editor :
    /u01/app/oracle/product/midtier/Apache/Apache/conf/httpd.conf
    Add
    Alias /pcreport/ "/u01/app/oracle/product/midtier/forms/pcreport/"
    <Directory "/u01/app/oracle/product/midtier/forms/pcreport/">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    Create the pcreport directory.
    Add a simple test page
    vi /u01/app/oracle/product/midtier/forms/pcreport/test.html
    <html>
    <head>
    <title>Simple test page </title>
    <style type="text/css">
    body {
    margin-left: 20%;;
    margin-right: 20%;
    border: 1px dotted gray;
    padding: 10px 10px 10px 10px;
    </style>
    </head>
    <body>
    <p>test!</p>
    </body>
    </html>
    Test
    http://yourserver.com:7777/pcreport/test.html
    Best Regards
    mseberg

  • A problem when I try to create a application view throug a Bea MQSeries Adapter8.1

              Hi, guys!
              I have installed Weblogic platform 8.1 beta, and try to use the MQSeries Adapter
              which provide by Bea weblogic, and it's seems I must deploy the .ear file which
              is an application include the MQ Adapter, on a domain which provide the Integration
              function, the ear file I was download from bea site. So I deploy it in the samples/domain/platform
              domain as the docs told me. And after that I create a new directory called session
              and a subdirectory contain a manifest.xml file, I do this also due to the docs
              provide by Bea. And then I can create the application view in the application
              view console, BUT, when I try to add a Event in the console, the page and OS console
              both print this message :
              DEBUG 21 ?? 2003 20:43:11,906 BEA_MQSERIES_1_0.DesignTime - getMergedDictionary
              got exception:
              DEBUG 21 ?? 2003 20:43:11,906 BEA_MQSERIES_1_0.DesignTime -
              StackTrace:
              java.lang.NullPointerException
              at com.ibi.beamqseries.web.DesignTimeRequestHandler.getMergedDictionary(DesignTimeRequestHandler.java:372)
              at jsp_servlet.__addservc._jspService(__addservc.java:120)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1047)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:383)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:301)
              at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:547)
              at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:364)
              at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:153)
              at jsp_servlet.__display._jspService(__display.java:632)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1047)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:383)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:301)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6319)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3525)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2553)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              And I'm not quit sure about how to make the Schema directory correcttly, I just
              make one manifest.xml file. and hope I can find more document about the adapter,
              or can fix this problem.
              by the way, I just have userguid, installguide and releasenotes pdf file which
              can be download from Bea
              Regards,
              shannon
              

    Can you tell me the exact url of the BEA_MQSERIES_8_1.ear?
              Please give it to me... Thanks in advance...

  • SQL Express 2008 R2 - CREATE DATABASE permission denied in database 'master'

    I have created a setup application with SQLEXpress 2008 as a prerequisite. On test SQLExpress installs OK
    after the application is installed it must create and install a database using a mixture of SMO and Scripting. I used SMO to add the current user (who is a Windows Administrator) as a Login to the SQL Express server.
    Dim l As Login = New Login(srv, My.User.Name)
                    l.LoginType = LoginType.WindowsUser
                    l.AddToRole("sysadmin")
                    l.DefaultDatabase = "MASTER"
                    l.Create()
    It fails on srv.CreateDatabase with error message "permission denied in database MASTER"
    this thread talks about converting the server to single user mode before adding a login
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/86daf5f5-d333-40b1-ae6f-0da052a96600
    how is it possible to scrip this? there is no documentation i can find. 
    the database must be installed in the ProgramData folder. Is there a permissions issue with this. Do I need to assign permissions to this folder somehow?
    bear in mind this will be a remote install and the user expects it work flawlessly.  No manual interventions

    if i connect to the sqlexpress instance  (local)\SQLEXPRESSS  using SQL Management Studio and try to modify the Windows User Login I get the error message:
    "User does not have permission to perform this action. (Microsoft SQL Server, Error: 15247)"
    how is this possible. it seems to be at an impasse. can't go forward or backward 
    Now try launching Managenment Studio by right clicking on shortcut and choosing "Run As Adminitstartor".
    If above works then you are running on Windows 2008 family OS (Vista, 2k8 or Win7) which has
    UAC feature.
    If above does not work then you really don't have permission then follow below. 
    Troubleshooting: Connecting to SQL Server When System Administrators Are Locked Out
    Start the instance of SQL Server in single-user mode by using either the
    -m or
    -f options. Any member of the computer's local Administrators group can then connect to the instance of SQL Server as a member of the
    sysadmin fixed server role.
    http://msdn.microsoft.com/en-us/library/dd207004.aspx
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog: http://blogs.msdn.com/blakhani
    Team Blog: http://blogs.msdn.com/sqlserverfaq

  • "Couldn't create destination temporary file:Permission denied"

    I am running the latest version of Final Cut Server on a Mac Pro Tower running Mac Server 10.6.X.
    I keep getting 2 Error messages every time my users are trying to send content to the server via Final Cut Server client application:
    (1) "Broken Pipe" and (2) "Couldn't create destination temporary file:Permission denied"
    Anybody have any Ideas on how I could correct this?
    Thanks

    Can you elaborate on what you did to fix this? I am getting the same error. Everything was fine about a week ago. I tried repairing the disk permission in Disk Utility.

  • S-nail error no such directory /usr/bin/sendmail / permission denied

    I am trying to get email notifications setup with smartmontools but the test email does not reach my address. s-nail is an optional dependency of smartmontools and is installed. From my understanding it should work out of the box without any configuration but it doesn't.
    I attempted to send an email manually for troubleshooting purposes with this command:
    sudo echo "This is the mail body" | mailx -s "This is the subject" -r sendersemail [email protected]
    The mailx command produced an odd error:
    /usr/bin/sendmail: No such file or directory
    If I create /usr/bin/sendmail directory (and chmod it to 777) I get this error:
    /usr/bin/sendmail: Permission denied
    "/home/dom/dead.letter" 10/251
    ... message not sent.
    I am lost. Does anyone have any idea what is going on here?
    Last edited by dominicm (2015-02-24 22:50:38)

    There is no config, it's all at defaults with only s-nail package installed. Or did you mean other non-snail config? Did you use the command as per my original post exactly and was it  an external email? Did you have s-nail installed/configured before now?
    I also now tried adding a .rcmail config from snail wiki linked before.
    # All the examples require v15-compat!
    set v15-compat
    # ArchLinux-specific locations of certificates.
    # Since these are subject to the ArchLinux update mechanism,
    # use only those, don't try to load OpenSSL builtin ones.
    # And use the TLS specific set: see "man 8 update-ca-trust"
    #set ssl-ca-dir=/etc/ssl/certs
    set ssl-ca-file=/etc/ssl/certs/ca-certificates.crt
    set ssl-no-default-ca
    # Require secure transport via protocol version TLS v1.2, exclusively.
    # (Change this only [best on a per-account base, as below]
    # when the remote server doesn't support this protocol!)
    set ssl-method=tls1.2
    # Request strict transport security checks
    set ssl-verify=strict
    # Essential setting: choose allowed character sets
    # (Have a look at the "CHARACTER SETS" manual section)
    set sendcharsets=utf-8,iso-8859-1
    # When sending messages, wait until the Mail-Transfer-Agent finishs.
    # Only like this you'll be able to see errors reported through the exit
    # status of the MTA (including the builtin SMTP one)!
    set sendwait
    # To save a copy of sent messages somewhere (this will end up in your home directory)
    set record=sentmail.mbox
    # This may be interesting to gain some speedup when sending mail
    set mimetypes-load-control
    # This is optional, but you should get the big picture
    # by reading the manual before you leave that off
    set from="Your Name <youremail@domain>"
    Still the same error. No surprise since this config doesn't add any new info that is not present in the mailx command.
    Last edited by dominicm (2015-02-24 23:59:44)

  • Unable to open or create file ... Permission denied

    I'm a new user of LC Designer ES.  After creating and saving a form, I made changes and now cannot save.  Error message in Log tab of Report palette says "PDF generated successfully.  Unable to open or create file [file name] Permission denied."  Any ideas why this would happen, and how to fix?
    Thanks for any help.

    If the file is already opened in another application (like Acrobat or Reader) then you wodul not be able to save it as those apps put a lock on the form.
    Paul

  • Getting prob while creating view in webdynpro ABAP application

    Hi Guys,
    I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
    can anybody let me know how to solve this problem.
                   Thanks In Advance
    Regards
    Ravikumar

    I think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
    Please reward if useful.

  • Permission denied error in BSP application

    i am using activax object "Microsoft.XMLHTTP" in my BSP application
    and calling following url
    req.open("POST","https://test.authorize.net/gateway/transact.dll",false);
    but it give me the error permission denied
    Thanks
    Ganesh

    i can open this URL from browser, but when i call any URL from my javascript codes in BSP application it gives error "Permission denied" or url is forbidden. this happens with other url also. I have seen some thread on it and tried to put this url in my browser trusted site even after it shows same error.
    Edited by: Ganesh Modhave on Sep 10, 2008 3:44 PM

  • Permission denied message for parent directory

    In Solaris 8 container I am facing the below issue.
    As oracle user when I do ls -l in /dboracle mountpoint getting permission denied error messages.
    $ ls -la
    ./..: Permission denied
    total 8
    drwxrwx--- 8 oracle dba 1024 Feb 18 16:14 .
    drwxrwxr-x 6 oracle dba 1024 Jan 30 15:36 admin
    drwxrwxr-x 2 oracle dba 96 Jan 27 15:28 lost+found
    drwxrwxr-x 6 oracle dba 96 Feb 18 06:23 orabase
    drwxrwxr-x 6 oracle dba 1024 Feb 17 14:07 oracle
    drwxr-xr-x 5 oracle dba 1024 Feb 18 11:50 software
    drwxrwxr-x 3 oracle dba 96 Jan 2 06:01 tools
    $ id
    uid=1000047(oracle) gid=90(dba)
    $ pwd
    /dboracle
    $ ls -ld
    drwxrwx--- 8 oracle dba 1024 Feb 18 16:14 .
    Please help asap.
    Thanks

    The directory underneath the mount point has insufficient permissions.
    This has been a bug in Solaris for at least a decade...
    Darren

  • Moved location of Pages in "Applications", now can't save "Permission Denied"

    To make things easier to me I moved my iWork applications out of the iWork '09 folder and into just applications.  That way I didn't have to click on applications, then the iwork folder, then the program I wanted, they are now in order with my other applications.
    I now am unable to save any new documents or changes to others.  I have tried this in Pages and Numbers and keep getting the "Permission Denied" error message.
    I have restarted my computer several times to no avail.
    Any ideas?

    cd,
    You didn't need to move anything. This is what shortcuts are for. There once was a Pages shortcut on your Dock, a one-click action to start the app. You could restore that. You could place a shortcut on your Desktop. Or, you could use Spotlight to start the app.
    Spotlight is my favorite because I don't have to touch the mouse. Type Command-Spacebar and then type p   a   g   e... etc. until "Pages" shows up in Top Hit in the Spotlight list, then hit Return to start the app.
    Jerry

Maybe you are looking for

  • Applet not showing in browser OR appletviewer window not appearing

    hi 1. I have small java code - hello.java import java.awt.Graphics; public class hello extends java.applet.Applet public void paint(Graphics g) g.drawString("Hello java...................",600,300); which correctly compiled 2. then I wrote an html fi

  • Print out of GRN document.

    Dear All ,                               Kindly help me as user is in need to take print out of GRN document as collective slip I need to  take out printout of grn.the prinout should contain collective slip that is all item in one slip. the slip shou

  • Tax condition types issue in sales order

    Hi Friends, I am bit lost with the following issue. I have searched sdn and other SAP forums for this. There were similar issues discussed but they didnu2019t solve my issue. There was exactly similar issue but it was unanswered. So I am posting the

  • Needful / Useful Jobs in SAP XI

    Hi @ all, when I was looking toward the going live of our XI system, I asked myself. What kind of jobs should be planed in the system - such as archive messages, restart messages and so on... Does anyone has a tip - or what do you use in your system

  • Shut down waiting time

    Hi All, Using the "Energy Saver" preference panel, I have my computer to automatically shutdown at night at 12am during the weekdays. However, it actually puts up a warning first before shutting down and that warning lasts 10 minutes. Is there any wa