products support forum

File Query
Page 1 of 1

Author:  trevorlawrence [ Jan 27th, '10, 03:07 ]
Post subject:  File Query

Hi All,

i need to do a couple of things.
1)I need all files or folders created in a folder "data" to have group owner as abc.
2)files created in the directory should have 660 as permission and folders should have 550. Is this possible? i know it is possible if the folders are part of samba and rights need to be assigned to samba users. Through create mask and directory mask. but for unix users is it possible?

i could do achieve the point 1 with
chgrp abc /data
chmod g+s /data
This ensures that all files or folders which are created further in the folder will have the same group owner.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group