Mass change file permissions

Long story but basically a couple of months ago one of my logins just suddenly dissapeared. Would not let me in with that user name...no good. Was still able to access the files going through the root, but when I created a new login I was unable to access the old login's files...only through the root. Is there a way to mass change the permissions so that the files are accessible?
much thanks!
aaron

Rippeddisc wrote:
Long story but basically a couple of months ago one of my logins just suddenly dissapeared. Would not let me in with that user name...no good. Was still able to access the files going through the root, but when I created a new login I was unable to access the old login's files...only through the root. Is there a way to mass change the permissions so that the files are accessible?
yes, it's possible but you have to do it from terminal. DO NOT try to change permissions recursively on your old home folder from Finder. However, none of this is probably necessary and it should be a simple matter to recreate your old account with the old homedirectory. would you prefer that or do you really want to just move the files from the old home directory to the new one?
if you don't want to recreate the old user,
to recursively change permissions on that home directory run the following terminal command from the account you want to access those files from
sudo chown -R $USER /users/oldusername
instead of oldusername put the short name of the user that disappeared.
You'll have to enter your admin password (which you won't see). that's normal.
much thanks!
aaron
Message was edited by: V.K.

Similar Messages

  • 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-

  • 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.

  • 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.

  • Adobe Air Mac Change File Permissions

    Hi there
    I have a Adobe Air app for MAC that downloads a zip file then decompresses it uzing the fzip library... After decompression i try executing a .app file with NativeProcess API... But after the decompression the file loses permission to execute enven if i try to manually execute the .app it doesn't open... But if I change the .app permissions with command line the .app opens even with the NativeProcess API.
    So I would need to change the file permissions through Air API... or run a command-line to change ther permission through Air API.
    I also have this application to Windows version (exe) and it works withou any problem. But in Mac when decompressing the file loses permissions.

    ... or launch /usr/bin/chmod to change the permissions (via NativeApp API) and then execute your .app?

  • Changing file permissions in java

    Hi..
    I am creating log files using file handler class.They are created with some permissions in linux. Now I want to change the permissions of the those log files.
    I run this java code only once..so it should modify the permissions of the existing log files and the permissions of the new files getting created as well.
    Could u any one shed some light on it...
    Thanks in advance..

    Kiran,
    There are several ways to do this. I guess the easiest would be to change the "umask" of the (linux) user who is launching OC4J -- that way, any file created by that user will have the required permissions. Isn't that better than creating the files with the wrong permissions (in the first place) and them trying to change them afterward? (Or have I misunderstood your question?)
    Anyway, I fail to see how this is connected to OC4J?
    Good Luck,
    Avi.

  • Is it possible to get KM change file permissions event?

    Hi,
    I would like to get in my code events when file permissions are changed.
    Please could you answer or to advice some workaround if it's not possible?
    Thanks.

    Hi,
    There are no events for permission changes in KM.
    You have to find some way of custom development for this. May be something related to security manager kind of. I am not so sure whether security manager helps.
    Regards,
    Yoga

  • 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.

  • Change File Permissions (Ownership) Recursively

    While running under my User, I restored some files (from Retrospect) for another User on my MacBook.  Using the Finder, I moved them to the other User's folder but they when I look at the directories and files that I moved, I see that I am still the "owner" in the file permissions.
    I need to change file permission ownership recursively down the hierarchy of several folders, e.g., Documents, etc.
    I'm happy to use chown in Terminal if someone will just give me a clue on the proper command.
    Thanks for your help.
      - nello
    MacBook (Early 2006)
    10.6.8

    Well,
    $ man chown
    gives you the chown manual page, which is always a good idea to read if you're not familiar with the command. In this instance, I think the command would be
    $ chown -vR <owner> <file>
    But you might feel more comfortable with a GUI tool like BatChmod.

  • Can I mass-change file associations?

    On a Win7 I installed CS4 and CC. However, Bridge CC (although installed last) has *all* files associated with CS4. Which of course makes my life very difficult right now. Is there a way to massively change file associations in Bridge CC? I've done it many many times one-by-one in the past, and I really don't want to do it again.
    Thanks

    Yes, if you want to mess with registry.  Try this solution for CS6, but use CS4.  Will be slightly differenct as CS4 was 32 bit program.
    HKEY_CURRENT_USER\Software\Classes\Applications\Photoshop.exe\shell\op en\command
    This key was set to the path for Photoshop CS6 when it should have been set to Photoshop CC.
    In other words, in my case, it was set to:
    "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe" "%1"
    When I changed the CS6 to a CC, in other words, so the whole key reads:
    "C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe" "%1"

  • Automator: shell script to change file permissions

    Hey guys,
    Just created a workflow to copy some files from one location to another.
    Second thing I want to do is run a shell-script to set some file permissions recursively, some for the folders, the other for the files.
    I figured I could do the following:
    cd /IntoAFolder
    find . -type d -exec chmod 770 {} \;
    Unfortunately, this seems to be needed to be done as a sudo'er and thus requires the user's password.
    So the question is, how do I get that password and hand it to the shell script or is there another way of doing this?

    What I want to do is recursively chmod the subfolders and files of a "root"-folder.
    The way I know to do so is:
    cd /root-folder
    find . -type d -exec chmod 755 {} \;
    That will chmod all subfolders from the root-folder to 755.
    Next i want
    find . -type f -exec chmod 644 {} \;
    That will chmod all subfiles fromn the root-folder to 644
    Unfortunately, find gives me a permission denied when I run this command from the command-line. When I just manualy chmod everything that works fine but is a bit to much work when it comes down to a tree of 5 subfolders and 120 files.
    Waht basically hapens:
    The user selects a bunch of folders.
    Then they are copied to /Applications/RCT3.localised/Data/Styles/Themed
    and then I need to chmod them just to be sure, as sometimes stuff break along the way if you don't

  • 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]

  • Cyberduck - Can't change file permissions

    Hello,
    Im using the latest nightly build of cyberduck and the latest version of leopard.
    Okay So i upload the file to my server.
    1. The permissions column on the remote browser says "unknown"
    2. I click the file, and choose "info", and next to permissions it says "Unknown"
    3. Aside from the above, the entire area for permissions is grayed out. It doesn't allow me to adjust permissions.
    The server is a RHE linux server running cpanel. I logged into another host which is hostgator, and I have the same problem with them so I know its not my server.
    Can anyone assist me? Thank you in advance for your replies.

    I used ntfs-3g as recommended, and it worked, thanks!
    I'd copy pasted those lines from a previous Ubuntu install where they worked just fine, so I didn't bother changing them, though I was aware that writing priveleges require ntfs-3g. I'm still not owner of any of the files / folders, but I can edit and delete them as I see fit, so no harm.
    Thanks again :-)

  • Use applescript w/automator to change files permissions

    Hi, I need to change permission to several files to Read and Write to the Owner, Staff and everyone. I do this everyday, that's why I need someway to automate this action. I don't know about scripting but I do know (more or less) how to create a service in Automator. I am looking to create a service in automator which runs an applescript that changes this file's permissions. I need this to be applied to all sub folders and subfiles. Any clue what the applescript should say? Thnx

    Perfect! It worked perfectly even though I didn't understood the difference between the first shell script and the other. I've tried both, and they both did the same thing: They changed the Owner, the Staff and Everyone to Read and write.
    For my tests, this is what I did (for the sake of all the non geeky guys like me who needs this):
    I opened Automator and choose to make a Service, and set it to Files and Folders in Finder.
    Then I added the finder action "Get selected finder items".
    Then added "Run shell script" and did what you told me, and that's it!
    Thanx for your time

Maybe you are looking for

  • Deleting a file that doesn't want to be deleted!

    i cant delete a partially downloaded file or folder from the desktop, it will not go into trash, it says "cant be moved to trash because it cant be deleted" any ideas?

  • Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests

    Hi, We are using SCCM 2012 sp1 cu5 with one primary in the datacenter and a number of local DP's which are presently servicing 200 users, but will rise to 12,000. The Application Catalogue is installed on the primary server. Once a day we get the abo

  • Not able to scale more than 1500 users when using apache (OHS),why ?

    Hi, When scale more than 1500 users, my applications response time degrades.If i use IIS as my webserver I am able to scale more than 3000 users, is there any bottleneck in the oracle apache (OHS) ? OHS Config Timeout = 300 KeepAlive = ON MaxKeepAliv

  • "Blocked by group policy"

    My Photoshop Elements 10 will no longer work on my home computer. When I try to use it, a pop up will state " This program is blocked by group policy''. I am not aware of any changes that I have made to computer to cause this. Any ideas?

  • Query monitoring using AUDIT

    Hi all, DB version : 11.2.0 OS version : RHEL 5.5 I have enabled auditing at the database level. Can anyone let me know how could i find out which query was executed by the user 2 hours before. I am not sure how could i find the query using AUDIT. Ju