[Gllug] File permissions

Bruce Richardson itsbruce at workshy.org
Wed Jun 30 13:24:29 UTC 2010


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.

-- 
Bruce

A problem shared brings the consolation that someone else is now
feeling as miserable as you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20100630/ccb1b69f/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list