Write access to http.conf

Hi! All, i'm trying to modify http.conf to change root directory in the apache built in Maverick Server.
So, when i try to change DocumentRoot path, Maverick tells me what I'm not the owner of the file. Although it opened with sudo.
I would appreciate any help.
Thanks!

Thanks, but could you be more accurate. What methods should I use in the servlet and what methods in the midlet?
Some links which concern this subject, would be nice too. I have tried with google, no success.

Similar Messages

  • [SOLVED] Write access and owner of /srv/http

    I installed the Apache HTTP server as stated on the LAMP page of the Arch Wiki. The Wiki says that the installation creates a http user and group automatically.
    When I ls -l in /srv, it shows that the permissions of the http folder are drwxrwxr-x root root.
    I changed the groups so that the owner of the folder is still root but it belongs to the http group.
    I also added my user to the http group.
    I systemctl restart httpd'ed and closed my terminal/logged back in. However, I still can not write inside the /srv/http folder.
    I need to be able to write to it without using sudo, but it doesn't seem safe to allow everything to write to it.
    Is it safe to change the group of /srv/http back to root and for my user to join the root group, and will that allow me to write to it?
    Or should I chmod it so that the folder belongs to me? Or something else?
    EDIT: Just joining the http group did actually work.
    I originally just logged out of the terminal I used to switch groups and opened up a new terminal.
    After posting this, I killed the X server, logged out of TTY1, logged into TTY1 as root, systemctl restart httpd'ed, logged root out of TTY1, logged my user back in, and started X again. I can write to /srv/http now.
    Last edited by subraizada3 (2013-11-12 20:44:53)

    another reboot and it work.  uggg, late night, I'm outa here.
    --nixIT

  • Python ldap write access (acl) from another machine?

    i've downloaded and installed:
    http://python-ldap.sourceforge.net/
    and used this example code:
    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303336
    and i'm using this code to connect to another machine that is running a vanilla install of leopard 10.5.2.
    The search works fine, but add and delete return this error:
    {'info': 'no write access to parent', 'desc': 'Insufficient access'}
    It would appear that the default acl for * doesn't allow for other computers to have write access?
    access to *
    by set="user/uid & [cn=admin,cn=groups,dc=test,dc=mydomain,dc=com]/memberUid" write
    by dn.exact="cn=test.mydomain.com$,cn=computers,dc=test,dc=mydomain,dc=com" write
    by sockurl="ldapi://%2Fvar%2Frun%2Fldapi" write
    by * read
    What I don't understand about acls is: are the 'by' lines all additive? if I was to add a new acl like the one below, will that give other computers, when authenticated as someone in the admin group, write access?
    It would appear that the default acl for * doesn't allow for other computers to have write access? or commenting out the dn=exact and sockurl?
    access to *
    by set="user/uid & [cn=admin,cn=groups,dc=test,dc=mydomain,dc=com]/memberUid" write
    by * read
    do i add this to /etc/openldap/slapd_macosxserver.conf and restart the server?

    Hi,
    You can check these few text-book style troubleshooting steps :-
    1. Can you PING the system computername from another System ?
    2. Can you check the ServerName Parameter in httpD.Conf of your IAS's Apahce & check if it contains computername ?
    3. Can you check if you can access http://computername:7777 or http://computername:7778 ( Default Ports ).
    4. Can you Telnet to computername at Port 80 ( using some software like Putty ) and issue Http Commands like GET / HTTP/1.1 ( just to check if the port is open ) ?
    Regards,
    Sandeep

  • Write Access to a file in Tomcat server via J2me Midlet

    How to make write access to a file using midlet and HTTP connection?
    I have text file in the Tomcat server and I am able to read it with HTTP connection using emulator, but don't have idea how to make write access to the file. I'd like to write some text to the file.

    Thanks, but could you be more accurate. What methods should I use in the servlet and what methods in the midlet?
    Some links which concern this subject, would be nice too. I have tried with google, no success.

  • I just got a new mac and use my external hard drive to save all my images to but whenever I go to save my photo to my hard drive it says I do not have write access....Whats wrong how do i fix this or do i need a new hard drive??

    I just got a new mac and use my external hard drive to save all my images to but whenever I go to save my photo to my hard drive it says I do not have write access....Whats wrong how do i fix this or do i need a new hard drive??@

    This is a Mac question not a Photoshop question, and I am a Windows users, but I can Google and this might be what you need to do:
    http://www.makeuseof.com/answers/change-read-permision-external-hard-drive-mac/

  • Disable write access to external drives via USB & FW400/800

    We have a Mac Pro on our AD network. We want to disable users from having write access to external HDD through USB or FireWire so that they cannot possibly copy data to a attached USB/firewire drives.
    Is this possible?

    Smith Micro has a product called Internet CleanUp that has the feature your looking for.
    http://my.smithmicro.com/mac/cleanup/index.html

  • How to Lock a data base table for write access.

    Hi All,
    I have a requirement where in I have to insert a bunch of data into a standard table using some function module. I want to lock the table for the others to insert/modity the records during my insertion. Please help me provide the procedure how to lock a table for write access for others.
    thanks and regards,
    Naresh

    Hi,
    See to this link it may help you.
    http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm

  • How can I deny write access to datalog files for all but one process in LV8?

    In LabVIEW 7.1, wiring the deny mode terminal of Open File.vi with a Deny Write Only enum constant was an effective means for ensuring that only one process could write to a datalog file at a time.  In LabVIEW 8.0, Open File.vi is no longer available and the new Open/Create/Replace Datalog vi does not provide a deny mode terminal.  Also, the new Deny Access vi does not support datalog files.  Furthermore, the Set Permissions vi is an unsatisfactory solution because under the Windows operating system, it simply sets the Read Only file attribute.  This is inadequate because I have demonstrated that it is still possible for two processes to open a datalog file with read/write access before either one has had a chance to set the Read Only file attribute in order to lock out the file.  If a process sets the Read Only file attribute first, then it can't open the file with read/write access for itself.
    Does anyone understand the file mechanism by which deny mode used to work with the old Open File.vi?  I wish to restore the functionality I had in LV 7.1 in my LV 8 programs.
    Thanks!
    Larry

    Larry Stanos wrote:
    I appreciate the
    empathy from Rolf, but I'm hoping that someone may have written one or
    more vi's containing CINs that call Windows 2000/XP file access control
    library routines.  At least I'm assuming that is how the deny mode
    input to Open File.vi used to work in LV7.1.  The Microsoft
    Developers Network on-line documentation on Access Control http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/access_control.as... is
    daunting to put it mildly.  But even if a set of CINs has not
    already been coded, perhaps someone could point me to the specific set
    of calls I need to make to absolutely guarantee that no two
    clients can simultaneously open the same file with write privileges.   Unfortunately
    the elimination of deny mode functionality for datalog files in
    LV8 has sabotaged my commitment to a March 1 release date because it
    would also be impractical to convert everything back to LV7.1 at
    this point.   Sincere thanks to anyone who can help me out here!
    Unfortunately
    the functionality you mention does not work in the way the deny mode in
    the LabVIEW nodes works. Basically that deny mode is converted to an
    according FILE_SHARE_READ/FILE_SHARE_WRITE value and passed to the
    Win32 API CreateFile function. This is more or less the only place
    where you can define a global share (or deny) access to a file. That is
    also why the Deny Access node online help is talking about that the
    file is reopened.
    But I just retried what you had tried to do, and low and behold it
    works with wiring a datalog refnum to Deny Access. What is important
    here however is that you do need to wire a datatype to the record type
    input of the Open/Create/Replace Datalog node. Otherwise you can't
    connect the resulting datalog refnum to any other file function, since
    it is an incomplete datatype.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Setup write access for all descendants except one

    Hi,
    I'd like to give a write access to all descendants of a member, except one.
    I thought I could simply give WRITE too all descendants, and set a NONE on the member I didn't want to give access.
    That should work according to the Planning documentation :
    Inheriting Access Permissions
    Inheritance may determine the user or group’s access permissions. You can specify an attribute
    that causes the children or descendants of that member to inherit its access permissions. Access
    permissions assigned to members take precedence over inherited access permissions. You can
    include or exclude the member from the access permissions setting.
    However, after I set it up this way, the inherited WRITE takes precedence over the NONE set up on the member.
    Am I facing a bug, or is there an error in the documentation, or am I really missing something ?
    I am working with 11.1.2.1, EPMA application.
    Thanks,
    JM

    If you set write accesss to descendants and then set none to one of the members then the none access should take precedence.
    This statement should be true "Access permissions assigned to members take precedence over inherited access permissions."
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Access denied: HTTP - Host Request with Widget Foundation + Yahoo

    Hi,
    I have a problem with the new Yahoo widget engine's (4.5) suggested structure, when trying to execute an RFC request.
    An older version of my .kon file has a classic structure, and it works fine, I write the script into the .kon file, it looks like this:
            <action trigger = "onLoad">
            <![CDATA[
                     // Standard SAP Widget Foundation Libraries
                     include("js/utils/Common.js");
                     include("js/utils/PlatformUtil.js");
                     include("js/utils/Timer.js");
                     include("js/utils/DataLoader.js");
                     include("js/utils/RFCRequest.js");
                     request.execute(function(response) ...
            ]]>
            </action>
    When I try to use the new structure (the .kon file contains only the source of the script, no CDATA, just  'src = "Scripts/Main.js"' ), and execute the request from the source JavaScript file, then I get this error:
    utils.DataLoader]> Exception was catched: XMLHttpRequest.send(): Access denied: HTTP - Host Request.
    Saw anybody this problem already?
    Thanks,
    Gyuri

    Hi,
    Yahoo has added security control in widgets since 4.5. You should add tag <security> in your widget.xml
         <security>
              <http>all</http>
              <filesystem>full</filesystem>
              <command>true</command>
              <hotkey>true</hotkey>
         </security>
    http://widgets.yahoo.com/static/downloads/WidgetsReference_4.5.zip page 33.
    Eriks

  • Why do we need write access to Java installation Directory

    We are Upgrading from Siebel Analytics 7.8 to OBIEE 10.1.3.4.
    As OBIEE needs Java 1.5 or higher as a pre-requisite we are planning to uninstall Java 1.4 and install latest version of Java 1.5.
    According to OBI Installation and Configuration Guide http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf -> Page 39 "If you are installing using the Basic installation type, make the user or user group permissions
    writable for the user installing Oracle Business Intelligence, for all JDK 1.5.0 installation directories,
    subdirectories, and files". Can anybody let me know why we need write access to Java Installation Directory??
    Thanks,
    Chandra
    Edited by: user6086408 on Apr 5, 2010 3:07 PM

    I had this same question and asked Oracle. Here's what I was told:
    Per Dev:
    "For OBI Presentation Services and OBI Publisher, jdk fonts files are copied into the JDK location because we do not bundle our own JDK. To ensure the install can do this you need to ensure that the Oracle BI installer has permissions to copy files to the specified JDK location.
    This means that if the same user who installer/untarred JDK is also installing Oracle BI, the install should work. In this case the the permissions of the JDK is probably 755.
    It will not work if a root user installs JDK and a normal user installs Oracle BI because the normal user does not have access to write to the JDK location or will not work if the JDK location is read-only, i.e. 444. In this case running chmod -R 777 will work."
    Jerry

  • Samba: write access from Ubuntu but not arch ?!?

    Hi !
    I am currently dual booting Arch and Ubuntu on my laptop and have a problem with getting write access to samba shares on an Arch mythtv backend.
    I have full write access when using Ubuntu on the laptop, but when I boot into Arch I can see the shared folders and their contents, but I do not have write access.
    The laptop Arch and Ubuntu user names are the same, as are the passwords (in case that matters).
    This is the smb.conf on the Arch backend:
    [global]
    workgroup = MYGROUP
    netbios name = BACKEND
    server string = laffi
    wins support = yes
    wins server = 192.168.1.103
    log file = /var/log/samba/log.%m
    max log size = 50
    map to guest = bad user
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    local master = no
    dns proxy = no
    guest account = laffi
    [public]
    path = /home/laffi
    public = yes
    only guest = yes
    writable = yes
    Any ideas ?

    Nothing ?
    This is currently the show stopper for switching my laptop to Arch, so any help with getting this problem sorted will be much appreciated ;-)

  • Write Access to Download Videos

    I was trying to download a video from iTunes. I got this error message and the video did not download:
    "iTunes could not save to your Music Folder because you do not have write access. Check the permissions on your Music Folder and folders in your Music Folder, then use the Check for Purchased Music command in the Advanced Menu to try again."
    Does anyone know how to change the settings for write access? Thanks in advance!
    --Bob

    This is a Home Computer. I tried following the instructions on the Microsoft Support Web site at:
    http://support.microsoft.com/kb/308418/en-us
    When I found the parent folder for the Music folder, all the "Allow" boxes are already checked. I even tried unchecking them, rebooting, then resetting them, all to no avail. Very frustrating.

  • Write access to Planning application EPM 11

    I have a Planning application and there are users/groups that have write access through Planning and I want to give these users/groups write access through Web Analysis.
    I see in Shared Services there is provisioning for "Analytic Server Write Access", which gives them the ability to write outside of Planning (GREAT)....but I don't want the users to write to all the members they have write access to in Planning, only a select few. Any ideas?
    Thx John

    If you want to change the access in web analysis then you will probably have to look into updating the essbase filters.
    If you do this you would have to keep rebuilding the filters after each planning refresh, can be done with maxl.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • No write access for iTunes media folder

    Every time I try to download updates to iPod Touch applications or purchase music, I get the message "iTunes couldn't download your purchase. You don't have write access for your iTunes media folder or a folder within it." This was working prior to approximately December 20, 2010. I have searched for answers and every single thing I've tried has failed.
    I have made sure that my user owns all the files in the iTunes media folder and has write permissions. In fact, I have ensured the user has write permissions for all directories both above and below this directory.
    I have removed C:\ProgramData\Apple Computer\iTunes\SC Info as described in http://support.apple.com/kb/TS1277 .
    I have moved my iTunes folder to a new one (off the root directory, e.g. C:\foo) as described in http://support.apple.com/kb/HT1364 .
    I have even created a new user account, which also has the issue.
    I am running iTunes 10.1.1 on Windows 7 on a 64-bit AMD Sempron laptop. I have made no significant software changes prior to this problem appearing, though regular Windows and iTunes updates are routinely applied. The device I'm attempting to use is a second generation iPod Touch, but that doesn't really matter - it doesn't need to be connected for the issue to occur.
    I apologize for being quite the Windows luser. This is my partner's computer - I'm a Unix and Mac guy.
    Thanks in advance!

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Regards.

Maybe you are looking for