Why am I not allowed to save a file with an Admin account?

I'm right to administrate the cpu (a tick in the box of user account), but I'm not allowed to save a file (like php.ini or .bash_profile when opened with textmate or textEdit, even using nano). Does anyone have some ideas about that? May I have a hint or a link toward a result?
Thank you for your help,
Patweb
OSX 10.6.8 on new iMac 27" (last generation)

The php.ini file can be accessed by various file paths, including via its traditional /etc/php.ini location and by the /private/etc/php.ini path referenced in this thread, and this is a protected system directory, and the files in this location can only be modified with root access (whether via sudo or with the root user when enabled) or by reconfiguring the access control lists or protections on the files and directories to allow access.
To locate the file, use the locate command:
$ locate php.ini
/private/etc/php.ini
/private/etc/php.ini.applesaved
/private/etc/php.ini.default
/private/etc/php.ini.server-default
$
For details on the Mac directory and file structure layout, there is a write-up here; that goes into the various directories that exist on Mac OS X and Mac OS X Server.
While I am well aware a user should not require sudo to access files in a user's home directory, there are cases where a user is accessing .bash_profile in other users' directories, and this too can require sudo.   I've also encountered mis-protected login directories, though these are less common.
The setup that OP was encountering appeared to be triggered by standard system security, and these sorts of details are discussed in the security manuals for the various releases, as well as the directory and file system link above.

Similar Messages

  • Why does Firefox not allow me to access my Kohl's Charge Account

    Every time I try to open my Kohls account I get this message. All other charge accounts Bealls , Belk open fine
    The connection to the server was reset while the page was loading
    The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    If you are unable to load any pages, check your computer's network
    connection.
    If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.

    You can get such an error if the server is too busy.
    You can also reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • The app store will not allow me to make purchases with my paypal account

    I tried to make a purchase from the app store using my paypal account but it told me that my purchase could not be completed. I have the funds in my paypal account so I don't know what the problem is.

    App Store does not accept PayPal in all countries.   The acceptable methods of payment for your country can be seen on your Account Information screen - and by editing your payment information.

  • Why when I log in to my virtual classroom with the admin account it appears a white screen?

    The meeting room is: meet18787284.adobeconnect.com
    The admin account it is e******@*******.net
    It appears a white screen like the image I attached
    Which number can i dial to have asistance from México?
    The number in the oage is 800-422-3623  i tried with 00,01,001,+1 and it didn´t connect kepp saying the number doesnt exist

    The link shown in your image is to the Service Plan page for the Connect account (which most likely shows as a white page or throws an error). The server URL you listed above is active and working, but you may just need to log into the server, and then select the desired meeting room. Meeting room URLs should have something after your server URL, for example: meet18787284.adobeconnect.com/myroom
    I've also edited out your email, as this is a public forum, and we don't want your information to get misused.

  • The shipment should not allow to save without partner forwarrding agent.

    The CR (forwarding agent) partner is set as Mandatory in the configuration for partner procedure TR, but you can save a shipment without this partner function.  We are only using Shipment type Z003 and the TR procedure is assigned, and the CR partner is set as mandatory but the system is not requiring it.  Why isn't the Mandatory flag working in create mode?  If there is a CR on a shipment already, it will not let you delete it, but it will let you create a shipment and save without the CR partner.  See Shipmentxxx in DX1, it was created and saved without any partners on the partner tab.
    The shipment should not allow to save without partner forwarrding agent.

    Hi,
    Check config for 'Set Up Partner Determination for Shipments'.
    I believe the Partner function for Forwarding agent is FA and here you are talking about CR.
    Also make sure you Partner determination procedure is reflecting in your Shipment type.
    Regards,
    Amit

  • Sytem should not allow to save the sales order based on risk category

    Hi,
    My user want to control the creation of sales orders based on risk category in credit control area.
    We created a new risk category - 30 Not authorized.
    And we made necessary configs also , like assignment of risk category and company code in OVFL.
    We assigned 30 risk category in FD32 for customers also.
    But while creation of sales order system is allowing to save the order.
    My user requirement system shoud not allow to save the sales orders for those are customers belongs to 30 risk category.
    How can we config. this
    thanks
    Sateesh

    hi,
    dont want to save the sales order if the credit limit exist ?
    then maintain block in OVA8
    choose
    your credit control area         risk categories             credit group
    1000                                        30 Not authorized           01
    checks tab
    choose static and maintain B
    this will give you error message and it will not allow you to save the sales order
    regards
    senya
    Edited by: senya_1111 on Oct 1, 2009 2:26 PM

  • Why am I not allowed to activate my product, CS3, when the product is bought years ago and I still have the serial number? It's an old version, but I don't throw products in the bin, just because they are old.

    Why am I not allowed to activate my product, CS3, when the product is bought years ago and I still have the serial number? It's an old version, but I don't throw products in the bin, just because they are old.

    And what exactly is your problem? Other than going of on a tangent about Adobe's alleged evilness preventing you to activate whatever CS3 product, you have not provided any useful info such as what exact problem you have, what system, what product we are axctualyl talking about and so on.
    Mylenium

  • Why Mavericks do not allow us to connect to specific AP using BSSID?!

    Why Mavericks do not allow us to connect to specific AP using BSSID?
    After get a MAC, to stay connected to the internet at university have being a challenge. We have lots of AP with the same name and my computer keeps reconnecting to a different one. I can't changes the network preferences to a specific network name.
    "airport --associate" is not an option.

    Hello Sir Gudo,
    Thank you for the details of the issue you are experiencing with your external hard drive.  I found an article with steps you can take when an external device is not being recognized.
    I recommend following the steps in the section titled "Top troubleshooting tips" in the following article:
    USB and FireWire Quick Assist
    http://support.apple.com/kb/HT1151
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • When I try to use the Message feature on my iPad 2, to send a message to a friends iPhone (on iOS 5 too), why will it not allow me to send the message?

    When I try to use the Message feature on my iPad 2, to send a message to a friends iPhone (on iOS 5 too), why will it not allow me to send the message?

    Check to make sure you are not typing your message in the Subject line.  If you are, it won't let you send the message.  Cut and paste the message into the Message field and you should be all set.
    FYI, you can disable the Subject line from your messages in Settings/Messages.

  • Eclipse EGit Plugin does not allow to save username & password

    Hi at all!
    I have a problem with the most current eclipse & egit version, it does not allow to save userame & password.
    The "username" field is grey und uneditable und filled out with "Administrator"
    Does somebody know about this issue?
    With kind regards,
    Jan

    Hi,
    One thing that could help is to look at the info in the agent logs, first increase Debug Logging Level, then restart the agent server and click thru your app, then look in agent runtime logs which should have more descriptive errors. For more detail on how to do this, try http://wikis.sun.com/display/OpenSSO/GlassFishAgentTrouble#GlassFishAgentTrouble-generaltips
    You could look on this page, which is mostly based on GlassFish server but could help for other servers as well.
    http://wikis.sun.com/display/OpenSSO/GlassFishAgentTrouble
    I have not installed either of the policy agents you mentioned. But with some of the other agents, like the Sun App server 9 (GlassFish) agent, it comes with a sample application, and I find that this is the best way to ensure your setup is good and you are following all steps etc. Once sample app is up, you can try your own apps with confidence.
    Since you already have the SJSAS 9 installed, maybe you could create a new domain and download/install the SJSAS 9 policy agent on the new domain. Then try out the sample app?
    Or if those other agents have a sample app then try it out.
    hth,
    Sean

  • Does anyone know why FCP is not allowing me to share a video (47 sec or 18 sec) to facebook

    Does anyone know why FCP is not allowing me to share a video (47 sec or 18 sec) to facebook?

    Hi, is it one of these formats, in 16:9 aspect ratio, & smaller than the size it says on that page?
    http://www.facebook.com/help/218673814818907/

  • Why Apple do not allow Bluetooth sharing between different devices even when I want to share something between apple devices I have to make sure that we have the same application

    Why Apple do not allow Bluetooth sharing between different devices even when I want to share something between apple devices I have to make sure that we have the same application

    We are users just like you and would not know why Apple makes teh decisions that they do , nor are we allowed to speculate about it here.
    From the terms of use:
    do not add Submissions about nontechnical topics, including:
    Discussions of Apple policies or procedures or speculation on Apple decisions."

  • Using iTunes why can you not backup and save your voicemail?  Guide me through this step by step if possible.  If alternate method MUST be used then provide same.  Truly appreciate this.

    Using iTunes why can you not backup and save your voicemail?  Guide me through this step by step if possible.  If alternate method MUST be used then provide same.  Truly appreciate this.

    Create and delete iPhone, iPad, and iPod touch backups in iTunes - Apple Support  - link doesn't state that voicemail is part of the backup
    iCloud: iCloud storage and backup overview  states that VVM is part of the icloud backup.
    You can also contact your cell phone provider - as voicemail is a carrier feature.

  • Why will it not allow me to create an adobe new user id for my new program

    I'm not sure why it won't allow me to create a new user id account.  I just purchased the bundle package adobe photoshop elements 8 and premiere elements 8 for my HP laptop online. I keep getting an error 400 message.

    Can you confirm that at the time of creating your AdobeID you are connected to internet?  As I expect this error message is appear only in case if you are not connected to internet. So please check it again.
    Thanks,
    Vinod

  • Why does adobe not allow upgrades to boxee box

    why does adobe not allow upgrades to boxee box

    There are many ways of stripping metadata.  Not sure how "locking" it would be of any use.

Maybe you are looking for

  • How can I use my 23" cinema display with a pc laptop?

    I see various questions out there about using Apple Cinema Displays and PCs, but each one has its own twist. If anybody can help with this scenario, I'd greatly appreciate it. I use one of the last editions of the Powerbook G4. I just bought a 23" Ci

  • HT2513 i cal on macbook pro no longer syncs with iphone

    i used to be able to sync i-cal on my macbook pro laptop with my iphone without a problem.  i changed the setting on my iphone to sync on the cloud.  i later reverted to the original settings after i found out that my laptop won't support cloud setti

  • Best way to set up two thunderbolt displays and thunderbolt ethernet on a Late 2013 MBP with only 2 thunderbolt ports?

    I have a late 2013 MBP with only 2 thunderbolt ports. I want to set up two external displays (both have usb ports on the back but not thunderbolt so I can't daisy-chain) but one of my thunderbolt ports is being taken up by the ethernet adapter. Is it

  • Layers (general question)

    I don't really use layers much, but I just noticed that if I'd used a layer for my master page items I wouldn't keep having to drag them to the front whenever I put a tint of color over the whole page. Is it common practice to always have the master

  • Can anyone help with a timestamp filter problem

    Hello I need to filter all times before 09:30 and all times after 15:30.  The filtering that takes place in the attached VI filters the dates properly up to 46 days but then 4:30 becomes 09:30 and 09:30 no longer appears  approx element 327 in the ri