[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Correcting permissions on files



Your other messages seemed to indicate that you are renumbering the UIDs
in the passwd files, for example moving from 100 up to 1000.

If you do that, your ownerships will still be wrong (after you copy via
rsync, ssh, rsh whatever and preserve this information).

You can begin to fix it by using find to find files/directories owned by
certain UIDs and have it chown them to new user. Just be sure to not
overlap and have two users with same UID or it will become real confusing.

It may be easy if the users only have files in their own home directories.

  Jeremy C. Reed
...................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net/



Reply to: