How to batch change file permissions?

I posted this problem in another forum and think it belong here.
A client sent me a CD of data and graphical files. I copied them into a new folder on my desktop but I am unable to alter or change them because they are read only.
How can I change all the files in the directory over to read/write? Is there an easy way to do this?
John

BatChmod is a good GUI application for changing permissions.
Or you can try this in a Terminal window:
chmod -R u+rwX [spacebar, drag folder to Terminal window, press return]

Similar Messages

  • Batch changing file permissions?

    I have a bunch of photos from a recent trip on my laptop. I just transferred them to my Mac Pro desktop rig. Unfortunately every single one of them says I don't have permissions to open them. Other than doing a get info on each and every single one - one at a time - is there a way to batch process the permissions so I can open them in Lightroom and Photoshop on my desktop rig?

    Open the Terminal in the /Applications/Utilities/ folder, type in the following:
    chmod u+rw
    Type a space, drag all of them into the Terminal window, and press Enter. No message will appear unless there's a problem.
    (48039)

  • How do I stop DW CS6 randomly changing file permissions via FTP?

    How do I stop Dreamweaver CS6 12.0.1.5842 randomly changing file permissions when it uploads files to my web server via FTP.
    I can no longer trust Dreamweaver to upload websites correctly as it changes permissions on some files which then deny the server access to the file which in turn makes the webpage unreachable/return a 403 error.
    This is driving me insane.
    I'm using an early 2011 Macbook Pro 10.7.5.

    Hi,
    I'm having this problem too. Has Adobe fixed the issue yet? This appears to be an Adobe problem, not all the web hosts out there. CS6 is ramdomly (meaning: not every time) changing permissions on files uploaded with it and is not usable for web work until this problem is fixed by Adobe or a solution is provided. If I wanted to use a separate FTP program I would not have recommended that my employer buy multiple Adobe CS6 product licenses. One of the primary appeals of DW is the integration of FTP into the workflow.
    I am using a destop iMac2.8 GHz Intel Core 2 Duo, 4 gigs of 800 MHz DDR2 SDRAM.
    OSX 10.7.5
    I am using DW Version 12 Build: 5808
    Dreamweaver CS4 that I was using until this new purchase was working just fine. No file permisssion changes. I am being forced to go back to using it until Adobe posts a fix for this.
    I should ask while I'm here: has anyone found a solution for this yet?
    Thanks,
    -c-

  • Changing File Permissions via FTP for WordPress

    Hi,
    I access files for a WordPress installation via FTP and when I try to change permissions to some files for some plugins compatibility issues I get the error below and the permissions are not applied.
    SITE CHMOD 747 colors.css
    Response: 500 'SITE': command not understood
    Best Regards,
    Abby Doc

    Hello Abby,
    Thanks for posting here.
    I would like to know how you're trying to change File permissions. Is that by using FileZilla or something?
    I would suggest you to refer the below links.
    Related Thread:
    http://social.msdn.microsoft.com/Forums/windowsazure/en-US/50e94a19-066b-443e-a70a-4fe3d99a6e95/how-to-set-file-permissions?forum=windowsazurewebsitespreview
    http://wordpress.org/support/topic/chmod-aka-file-permissions
    Steps to change a directories File Permissions using FileZilla FTP.
    Stop your website from the management console (https://manage.windowsazure.com)
    Open up the FTP site in Filezilla
    Rename the directory that has the problem
    Restart your website.
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

  • Changing file permissions

    Hi, does anybody have any idea how to change file permissions on a apache server. I have created ftp app that transfers file from a computer to a server and I need to change the file permissions to 0777. I'm using FileTransferClient from enterprisedt.
    Cheers
    Edited by: Ash3003 on Dec 10, 2008 2:24 AM

    Hmm ok, im a little bit lost. The server is running a pretty complicated video broadcasting site that I dont have much to do with. the app im making encodes videos and uploads them to a import directory on the server. From there some type of program accepts them and puts them in the sites playlist. The problem is the program that accepts them has to have the permissions set to 0777 before it recognizes them. My app doesn't run on the server it only get files there. And as far as i know these are the only files that need the permissions to 0777. by changing the unmask on the server will that effect other files on the site.

  • How to batch change the standard value of routing

    Dear all,
             I meet a problem, and need you help.
            As you know, we can use T-code "CS20"  to batch change a component's quantity in different Bom by a factor.
           for example:  Component a in Fert. A,  quantity change from 6g x 0.9 = 5.4g
                               Component a in Fert. B,  quantity change from 8g x 0.9 = 7.2g
           now, my question is how to Batch change the standard value in routing. (select by work center)  CA85N can select the value, but seems can not batch change by a factor,
           thanks in advance

    It is not a big task for u prasobh...Just play in CEWB for 5-10 mins you will understand everything....
    If you face any issue let me know..
    For ur information I am also an IBM employee...
    Gobi

  • How do I change file format so I keep HD and can play on blu ray player?

    how do I change file format so I keep HD and can play on blu ray player?

    Hi
    Part of it - in my way of doing is
    Roxio Toast™ Pro incl BD-component.
    • Burn short AVCHD - on standard DVDs (20-30 minutes at HD quality) - NEED Blu-Ray player to be viewed
    or BD-burner and disks - for full Blu-Ray Disks (not got to this yet)
    I think that saving as .mpeg4 H.264 and save on USB-memory to be put into PlayStation3 also keep high quality playback.
    Yours Bengt W

  • Permz - Quickly change file permissions in any file manager

    Designed to be integrated into any file manager, permz is a bash script which presents a GUI menu.  You can use it to quickly change file permissions and ownership as a normal user or as root, and delete files as root.  I wrote this because I have yet to see a file manager that isn't cumbersome for this - the mechanism is usually buried on a second tab of the Properties window, and changing permissions often involves multiple clicks in a grid. To change the owner of a file, you need to type the username. And if the file is owned by root, you can't do anything.
    permz --help
    Presents a GUI menu for changing file permissions/ownership. May be run
    as a normal user or root.
    Requires: zenity gksu
    Optional: sudo (recommended to prevent multiple root password prompts)
    Usage: permz FILE [...]
    MENU FUNCTIONS:
    rwxrwxrwx Sets file(s) to given permissions
    Sticky Clear/Set Performs "chmod -t" or +t to clear or set the sticky
    bit. You may select to clear/set sticky in addition
    to changing other permissions.
    Recursive go-rxw "chmod -R go-rxw" on file(s) recursively, denying
    access to non-owners
    Recursive go-w "chmod -R go-w" on file(s) recursively, denying write
    to non-owners
    Recursive ugo+rX "chmod -R ugo+rX" giving read access to all. Also
    sets +x for directories and executables.
    Recursive ugo+w "chmod -R ugo+w" on file(s), giving write to all
    (You may select several compatible recursive functions above at once)
    Owner USER As ROOT Sets ownership to USER:USER as root
    DELETE As ROOT Deletes file(s) as root. Must be used alone or with
    "Perform Recursively" (to delete directories - USE
    WITH CAUTION). Not available if permz is run as root.
    Perform As ROOT Run as root to change selected permissions.
    (Use of root is automatic when changing ownership)
    Perform Recursively Adds -R to all chmod, chown, and delete commands to
    descend into subdirectories. Use in conjunction with
    any other functions. (Recursion is automatic for
    "Recursive" functions above)
    Current su command is set to: gksu -gS
    If you're somewhat familiar with bash, adding additional options or changing the existing ones is straightforward.
    I have tested it pretty thoroughly but if you do encounter anything amiss please let me know.
    More details at http://igurublog.wordpress.com/downloads/script-permz/
    And in the AUR at http://aur.archlinux.org/packages.php?ID=36978
    Instructions for integrating permz into PCManFM-Mod are here.
    Last edited by IgnorantGuru (2010-05-05 13:53:08)

    rransom wrote:Recursive ugo+rX would be more useful than "Recursive ugo+r (dirs +x)".  (The +X feature of chmod is available at least in GNU coreutils, FreeBSD, and POSIX 2003.)
    Done - thanks for the tip.  I also left the old code active in there with just the menu option disabled, so if anyone wants it the other way or wants both it's easy to enable.  The difference is that the old way won't make any files +x, just dirs.
    permz doesn't provide every possible setting of permissions, just common ones, so you may want to customize it.  But I used to have these as user actions when I used Krusader and I found these were the handy ones, at least for me.

  • How to edit NTFS file permissions in Windows PE 3.0

    Does anyone know how to edit NTFS file permissions from Windows PE 3.0?

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    Since your post is off-topic, I am moving it to the
    off topic forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How can I change the permissions in Mac OS X 10.10 to allow Illustrator to access the files on my shared drive?

    When trying to save out a file to the printer that runs my printers, I cannot access that drive when saving in Illustrator CC. It will actually show up the first time I save, then if I try to save out another file, the entire "shared" directory is gone. I can still access my shared drives through my finder window, but now Illustrator. Does anyone now how to fix that?

    I run a wide format printing company. I have my main computer that I design on, then a separate computer that runs my printers. So I do all of my layouts on my main design computer, then I save out a high res pdf to the printer computer. So all I am doing is saving a copy over to the program that runs my printers. I never had an issues until I updated to OSX 10.10 (Yosemite). What is weird is that they actually show up the first time I save a file out. Then when I go to save another file, they are gone. I have also noticed that in the top/middle of the "save" dialog box, there is a drop down menu of previous save locations and I can still access it from there, just not on the normal side menu.
    I called Adobe and they said it is an IT issue and that something is blocking Adobe from having access to the shared drives. I am not an IT person. so I have no idea how you modify that. When I try searching for answers, all I can come up with is how the modify file permissions, nothing on program permissions. This same thing happens to all of my Adobe programs.

  • How to change file permissions on ULOG file??

    Hi
    I'm trying to change the file permissions on the ULOG file. By default it's being created with rw-rw-rw- permissions, and so any user can overwrite it.
    I'm using Tuxedo 8.0 on HP-UX.
    I've tried umask and that doesn't work. Nor does the PERM setting in the ubb file - looks like that is only for IPC structures.
    I want it to be created with rw-r--r-- permissions so that only the tux administrator has write access.
    Thanks in advance.

    We also encouter this problem. Seems like hard code. As it doesn't related to umask.
    As workaround solution, you may want to set ULOGPFX inside UBBCONFIG file, and proteck the directry with access mode 700.

  • How to set all file permissions to default?

    So a few background notes are in order. I came across an article on the NSA's website titled Hardening Tips for Mac OS x 10.6 "Snow Leopard", needless to say I have come to believe I have made this irreversible. The NSA suggested to do some fancy command line coding to disable this, modify that, and change permissions to this. After hours spent on "hardening" my system, I have little hair left to pull in frustration. Is there any way to restore all file permissions back to default? I have used the Repair Disk Permissions, but that has done very little. To give the scope of what permissions have been skewed, I have observed several things:
    The desktop wallpapers, on all Desktops (as I'm in Lion 10.7.3), start from the same picture every time. I have the wallpapers changing, randomly, every 5 minutes.
    Safari doesn't keep the home page. No matter how often I try to change the homepage, I restart Safari, and I'm right back to the original homepage.
    Firefox doesn't retain the fact that I want it to be the default Web Browser. In fact, it keeps "forgetting" that I've used it before, and thus brings me to their awesome start page whenever someone first uses Firefox.
    Spotlight gets "stuck" i.e. almost every time I start my machine, it indexes. Even after I let it finish indexing, the next time I start my computer, it starts again.
    I have to input the administrator password after almost every activity, such as copying to the desktop, moving an application not bought from the Mac App Store into the /Applications folder, deleting a file from anywhere inside my home folder, etc.
    Some preference panes that need access to certain folders, such as Hazel's access to my desktop, are denied that access without ever prompting me for a password (though even if it did, it would get rather annoying after every startup)
    My firewall (in System Preferences>Security & Privacy>Firewall) doesn't "remember" that I do indeed want Dropbox to accept incoming connections. I have to input my admin password at each startup after clicking "allow"
    Opera pretty much doesn't function. Its bookmarking capability, home page, saved tabs, any thing that requires the saving of any type of preference to the computer results in a dialog pop up informing me that Opera failed to save what it needed, and prompts me to "Try again" or "Cancel" (hint: the "Try again" button doesn't work)
    There are more symptoms of an ever growing problem.
    I have backed up my machine from Time Machine, but I think it retains these file permissions, unless I'm wrong.
    Summary:
    How can I fully restore EVERY file permission back to default? Repair Disk Permissions doesn't work
    Is there a way that I can re-install Mac OS X, restore through Time Machine, and achieve the default file permissions, essentially losing all file permissions?

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application by entering the first few letters of its name into a Spotlight search. Drag or copy – do not type – the following line into the window, then press return:
    chmod -R -N ~
    If you get an error message about permissions, enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition 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 recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) 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.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • How to batch change filenames in iPhoto 09?

    I have a dilema... The photos I've taken with my Leica have a certain filename convention (e.g. L0001, L0002, etc.) and the photos I've taken with my Canon have a different filename convention (e.g. IMG_0001, IMG_0002, etc.).
    When I import these photos into iPhoto they are arranged my date and time, which is what I want. When I upload these photos (all one giant Event) to my MobileMe gallery they are uploaded and arranged chronologically but by filename, meaning all the Leica photos are first in their order, then all of the Canon photos in their order. The MobileMe gallery does not match my Event.
    How can I fix this?
    -Keith

    you can not change file names in iPhoto - it is critical that you NEVER make any changes of any sort to the content or structure of the iPhoto library
    YOu can export the files using the option to sequentially name them
    You can change the file names prior to importing to iPhoto (use image capture to download your files and use a program like name mangler to batch rename them)
    LN

  • Batch change file date to match exif date

    Hi All-
    I recently got a mac pro. Upon importing my photos to iPhoto, the file date for each is set to the date of the import. When using the mac photo screensaver, the date that shows up for everything is the import date, rather than the date the photo was taken.
    Is there any way to batch change the pictures so that the file date matches the date the picture was taken?
    (Or, a way to have the screensaver use that date
    Thanks,
    -jamie

    Interesting, but here is what I found out. I was annoyed because when I sucked in about 1000 JPGs from my camera's memory stick, and then I copied them to my Windows boxen, the file dates were wrong. I was surprised that there isn't an easy way to do this... until your post!! Thanks. *APPLE, Please fix the way "Originals" are stored during iPhoto import*, since something is wrong here. The file dates stored on my memory stick should have been used not the moment I clicked import in iPhoto.
    So I moved my jhead to /usr/bin and gave it root ownership and 755 permissions.
    All of the pictures seem to be three deep here:
    cd ~/Pictures/iPhoto\ Library/Originals
    ls -lsGrt /*/.jpg
    But that is only a small fraction of mine. Most end in .JPG
    ls -lsGrt /*/.JPG
    So here is the commands to do the correction of the file date and time. You don't need the find command or that script, although you might need to snoop around and make sure all of your files are here and not any deeper or in some other location. but this should be harmless to run as long as you want to alter every file date.
    jhead -ft /*/.jpg
    jhead -ft /*/.JPG
    And that pretty much does it. I don't see any images elsewhere that were brought in by iPhoto 6 on my machine. I looked for MPG files but I don't have any. This is from a video recording camera, so I don't have any MPGs.
    So jrsmobile, my mileage varied a lot, since your method missed about 95% of my photos!!

  • Batch change file names

    How can I batch change all my file names?

    I am having a similar problem in Lr4. I made the mistake of not specifying a custom name at the beginning of a big import and I now have hundreds of photographs called "untitled_date_picture name_sequence.dng" I have created a custom renaming action that I normally use for all imports except this time I forgot to specify the custom text part at the beginning of the file string.
    I cannot see how I can now batch change the "untitled" part only to show correctly. If I try and create a new renaming action by adapting a custom action i.e. by making the following:
    Peru_Date_File Name (or Original File Name)_Sequence, the 'file name' part is replaced by "untitiled_111002_P1000245_12" for example. I am guessing that this is becasue the 'file name' is the entire string and not just the P1000245 part only which is the name created by the camera.
    Any ideas how I can batch change the 'untitled' bit only or do I have to reimport the photos all over again?
    Alternatively, is there a way to do this with the file names in Finder? I'm on a Mac by the way.
    Many thanks
    Chris

Maybe you are looking for