It is currently Apr 29th, '17, 06:18




Post new topic Reply to topic  [ 1 post ] 
File Query 
Author Message

Joined: Jan 24th, '10, 22:11
Posts: 3
Post 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.


Jan 27th, '10, 03:07
Report this post
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.
Translated by MaĆ«l Soucaze © 2009 phpBB.fr
[ Time : 0.137s | 15 Queries | GZIP : On ]