[Gllug] File permissions

James Holland holland.james at yahoo.co.uk
Wed Jun 30 13:31:43 UTC 2010


On Wed, 2010-06-30 at 14:24 +0100, Bruce Richardson wrote:
> On Wed, Jun 30, 2010 at 02:09:13PM +0100, Sunny wrote:
> > Hi Swen,
> > 
> > Have you used the 'chown' command.
> 
> Both you and Swen are missing the point.  James wants all the files and
> directories that are created within a particluar location in the
> filesystem to be created with a specific user and group ownership, no
> matter which user is creating the files.  He wants this to happen
> whenever files in that location are created.  Chown is not the answer
> for several reasons:
> 
>   1.  Only the root user can use chown to set the owning user.
>   2.  Chown has to be used after the event.

I had actually considered using chown in a crontab but thought it rather
inelegant! Hence my post. Using Samba on the Linux side as well as on
the Windows side is a very good solution which just hadn't occurred to
me..

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list