Permissions broken



Ran into a problem on a Win2003 server. I went to change the access
permissions on a top level directory, and the file permission & ownership
inheritance broke. Now all the subdirectories and files have no permissions
and no owners. There's a hundred subdirectories and thousands of files.

Looked the problem up in MS Knowledgebase. There was something similar (not
exactly the same cause). Their workaround was to open up the permissions
window on the main directory, make a change, and check a box saying to have
all subdirectories and objects inherit the change. This workaround seems to
work on the subdirectories, but not the files. An error message pops up for
each file saying "access denied". I am running under a domain admin ID. I
can assign the permissions and owner manually for a file, but there's
thousands of files.

Any suggestions on how to get permissions and owners back to what they're
supposed to be?


.



Relevant Pages

  • Re: restricting access to subdirectory globally accessible
    ... >> subdirectories of which are, funnily enough, each project for our ... >> I don't know how to have different permissions on the subdir. ... "staff" for all others. ... directory is accessed through samba and allow all to see it. ...
    (comp.unix.admin)
  • Help setting proper permissions
    ... would like on a directory and its subdirectories. ... I have an accounting group setup on the server. ... matter who creates or edits a file or new directory that the permissions ... chmod 770 /winshares/accounting -R ...
    (linux.redhat)
  • samba - keeping permissions and ownership
    ... subdirectories have different permissions on them. ... If the template directory, with all its subdirectories, is copied ...
    (comp.unix.admin)
  • Re: Permissions broken
    ... > permissions on a top level directory, and the file permission & ownership ... > permissions and no owners. ... There's a hundred subdirectories and thousands ...
    (microsoft.public.win2000.file_system)
  • Re: Pls help with this find command line
    ... and made many subdirectories _not_ executable. ... I can't see any way to test when running chmod. ... # If you check permissions on all those directories we created you ... you might need to write a shell script here. ...
    (comp.unix.shell)

Loading