How would i find for permissions for certain directory

hello
how would i find in my web docs (/home/user/htdocs) all directories named "templates_c" so i can do a chmod on them.
they need to be writable by the app, but i think 775 is not enough, i think they might need tto be 777 or atleast o+w i believe.  its for smarty template engine to write the template files on initial compilation.
i have been trying various wildcard version of find and chmod, but i dont want to foul things up.
Last edited by wolfdogg (2012-01-07 02:50:14)

wolfdogg wrote:
i ran as root, it didnt find anything.  there is atleast 3 of those directories in there.  i had to manually set them again.  there is probably more.  Is there something i can change on that last command that might be keeping it from finding anything?
its just a local testing server, i had the permissions chowned to "http", but the problem comes when everytime i upload a new file across ftp when logged in as user, it goes back to user, so i ended up chowning everything to user instead.
Could you please confirm whether you tried the commands Samuvuo suggested? Please specify whether the following command found the required directories:
sudo find /home/user/htdocs -type d -name "template_c"
Although, I would personally run the command like so, cos I'm noob:
find ~/htdocs -type d -regex ".*/template_c.*"

Similar Messages

  • HT1349 My Macbook Pro was stolen and I need the serial number. How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks :)

    How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks

    Lanlani wrote:
    ... It there any other solution ?
    Consider using this site: http://www.stolenlostfound.org/
    This is Apple's official word on the subject:
    Reporting a lost or stolen Apple product
    If you have lost or found an Apple product, please contact your local law enforcement agency to report it. Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers for items purchased or registered with your Apple ID.

  • HT5243 how do I find my password for adobe and Java

    how do I find my password for adobe and Java

    "Java" doesn't have a password, unless you mean your admin password for installing software. That's whatever password you (or the person who set your computer up) used to set up your admin account. That's the same password that you use when you start up the computer if you get asked for one. You cannot retrieve this password if you've forgotten it, but you can reset it and make a new one. See this support article if that's the case:
    http://support.apple.com/kb/PH14325
    "Adobe" is a company and likewise doesn't have a password. However, if you have Adobe cloud-based software you may well have set up a password with them. Adobe also require an account and password for downloading certain products. You'll need to contact Adobe to retrieve any such password if you've lost it.
    Try
    Adobe ID, sign-in, and account help

  • How can I find a bapi for perticular tcode?

    hi,
    How can I find a bapi for perticular tcode?
    Thank you
    ASHOK KUMAR

    HI Ashok
    If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    <b>1. Find out the package of the transaction.</b> 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    <b>2. Start va01 go to system-->status </b>
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2 
    Regards
    Preeti
    <b>
    Please reward for useful reply</b>

  • How can i find Czech books for the ibook app?

    i would like to download books in Czech languge.
    some one know how can i find Czech books for the ibook app?

    Google Czech ebooks.
    You'll need to make sure the format will work with iBooks or one of the reader apps when you download.
    Start with the free books and go on from there.

  • How can I find my password for iTunes?  Forgot it and can't see how to restore or change

    How can I find my password for iTunes?  Forgot it and can't see how to restore or change it.  It is not the same as the apple id password - or so my iPhone iTunes says - Help

    I don't want to reset my apple ID password. I know it's right. It doesn't work on Itunes to restore my phone. All the passwords I know are not working. I want to know why.

  • How do i find the url for my iMac

    How di I find the URL for my iMac?

    Can you explain in more detail what you mean? A URL is the address of a website - such as Apple.com or Harvard.edu. A computer will only have a URL if it has been set up as a web server and has name servers pointing to it (so that people looking for yourcomputer.com will be sent to the right place).
    Conversely, every computer has an IP address, which is numerical. If you're connected directly to your internet, you will have a public IP address (it might look like 245.46.120.30, for example). Most people connect to the internet through a router, though, which gives them a private IP address only visible within their own network (something like 192.168.1.4).
    Matt

  • How do I find the url for ical

    I had to switch from iphone to droid and now I'm attempting to sync my macbook to my new phone.  How do I find the url for iCal?

    Please see this page:
    http://help.apple.com/icloud/#mm6b1a88ad

  • How do I find the assets for the Pluralist Brochure?

    How do I find the assets for the Pluralist Brochure?

    Hi Rita,
    Is it possible to speak with you?
    I put in the web address you gave to me and it took me to the tutorial: 
    https://helpx.adobe.com/creative-cloud/learn/tutorials/indesign.html?code=eyJhbGciOiJSUzI1 NiIsIng1dSI6Imltc19uYTEta2V5LTEuY2VyIn0.eyJpZCI6IjEzOTQxMTY4MTQ5NTUtMTgzMGQwZDMtNDk4OC00Y2 ZmLWE3ODYtYzZkZTc5NGQ2Y2EwIiwic2NvcGUiOiJvcGVuaWQsY3JlYXRpdmVfY2xvdWQscmVhZF9vcmdhbml6YXRp b25zLGFkZGl0aW9uYWxfaW5mby5zY3JlZW5fbmFtZSxhZGRpdGlvbmFsX2luZm8uc2Vjb25kYXJ5X2VtYWlsIiwic3 RhdGUiOm51bGwsImFzIjoiaW1zLW5hMSIsImNyZWF0ZWRfYXQiOiIxMzk0MTE2ODE0OTU1IiwiZXhwaXJlc19pbiI6 IjE4MDAwMDAiLCJ1c2VyX2lkIjoiQTBFNDc2QTg1MzA3RTlDMTBBNDkwRDQ0QEFkb2JlSUQiLCJjbGllbnRfaWQiOi JDcmVhdGl2ZUNsb3VkVGVzdDMiLCJ0eXBlIjoiYXV0aG9yaXphdGlvbl9jb2RlIn0.StAmeYFnZ2Bl81D_E9GdQaKw jS9irovZVi2TgXvKvyYFFydbK_moes9zwu8eNCcyzVEW4LKVM4pky15WrQlT3TpBsLj-wubTBFHfrbTy5ShKwVrCW7 ON09EHAgn_5UKmT1mvKDtzPJFN1rVw4ZEWzAbH7IW52Kpt-Mcdzuf1v38N5GHxWfRxtGFob0vcsO_i155mtYRgdRd3 IyGJf5m9ObNztwE6w1phzddkK8itwIr2WhNAPRnHPwHIp10bgIBT14cnN0D8lfXvLfe1C8RV3OoX4b4KeuN7sytv_K lmY97pWrlwNGGJGeKCY7OF0lGV2MEdz1WezTGQYjrm1QjS2Q
    and I do not see a large hero image that you were referring to.
    Thanks Joe (Yogi1948)

  • How do i find the link for my adobe revel photo gallery

    How do i find the link for my adobe reveal gallery?

    Have you tried to sign in with your Adobe ID at https://www.adoberevel.com/ ?
    If you need more help, please ask in the Revel forum.

  • How do I find the SSd for my MacBookair 2012 13"

    How do I find the SSD for my MacBook Air 2012 13"?

    If your somewhat obscure question is asking for larger alternative storage, look here:
    eshop.macsales.com/shop/SSD/OWC/Air-Retina/Apple-MacBook-Air-2012-Drive-Internal -Flash
    Otherwise I must agree with Csound1'
    Ciao.

  • How do i find the registration for quicktime pro ?

    how do i find the registration for quicktime pro ?

    It should be under the Quicktime Player 7 menu, right under 'preferences'.

  • How do I find the key for my time capsule router

    How do I find the key for my time capsule router

    Hello, see if these are of any help...
    http://www.iclarified.com/entry/index.php?enid=4547
    http://manuals.info.apple.com/en/TimeCapsule_SetupGuide.pdf
    If it's the Pre-Shared Key you're looking for, open Airport Utility, under the menu item Base Station, look for Equivalent Network Password.

  • How do I find the password for my iMac on version 10.7.4?

    How do I find the password for my iMac on version 10.7.4?

    DO NOT FOLLOW THE INSTRUCTIONS IN THE ABOVE LINKS.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the Mac OS X Utilities screen appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select  ▹ Restart from the menu bar.
    You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.

  • How do i find the carrier for iphone 4 uk?

    how do i find the carrier for iphone 4 uk?

    Call AppleCare in the UK, they may be able to tell you.

Maybe you are looking for