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

[K12OSN] Permissions?



This should be easy but it is eluding me, man page after man page I can't
seem to find what I need.

Basically I need to copy a bunch of files and directories to all my users
home directories. Copying the files isn't the hard part. Its the fact that
If I copy the files to all their directories as root then the root user owns
the files. I need for the ownership of the files to be the same as the
directory I am copying them into.

I hope I am explaining this right. I would do it by hand but I have 3000
users. I though about just changing the files to 777 but I that¹s not really
the answer. 

Its almost like I need the /etc/skel thing going on. But I can delete and
recreate the home directories because I can't wipe out the users data they
already have. 

Any Ideas?

- jamie  





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