Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Others => Miscellaneous => Topic started by: jtk1964 on December 05, 2008, 04:55:34 AM
-
In the /Docs directory, create three files: file1 file2 and file3. Create the files as user and give the Tech group read and write to all files, and all other users just the read permission.
I created 3 files in the doc directory and changed the create to user instead of root in the Permissions? ??? Is this right??????
-
Frankly.. I did not get it, may be you can elaborate a little more ie. like what you need it for ?
-
chgrp works pretty much the same way as chown does, except it changes the file's user group instead of the owner, of course.
$ chgrp usergroup somefile
After issuing this command, the file somefile will be owned by a user group usergroup. Although the file's group has changed to usergroup, the file's owner will still be the same.
Regards
team