[Gllug] File permissions
Swen Hartmut Tromm
swentromm at yahoo.co.uk
Wed Jun 30 13:56:50 UTC 2010
Dear Sunny,
It is not me how has this problem - I know very well how to use chown. It is
James Holland how may don't know this command.
Regards,
Swen
On Wednesday 30 Jun 2010, you wrote:
> Hi Swen,
>
> Have you used the 'chown' command.
>
> Here is a example:
>
> chown foo:foo /home/foo/docs/test.sh
> chmod 770 /home/foo/docs/test.sh
>
> This will give full permission (rwx) to the user foo and to the group foo.
> All others have no access.
>
> Is this what you are trying to do? If not, can you give some more details.
>
> Regards,
>
> Sunny
>
> On Wed, Jun 30, 2010 at 2:01 PM, Swen Hartmut Tromm
>
> <swentromm at yahoo.co.uk>wrote:
> > Perhaps I understand this a tick too simple, but what about "chown"?
> >
> > On Wednesday 30 Jun 2010, gllug-request at gllug.org.uk wrote:
> > > Message: 1
> > > Date: Tue, 29 Jun 2010 14:01:28 +0100
> > > From: James Holland <holland.james at yahoo.co.uk>
> > > Subject: [Gllug] File permissions
> > > To: GLLUG <gllug at gllug.org.uk>
> > > Message-ID: <1277816488.2132.8.camel at linux1.holland.net>
> > > Content-Type: text/plain; charset="UTF-8"
> > >
> > > I'm struggling with file permissions. I want to have a public directory
> > > that inherits the UID as well as the GID. Using chmod g=rwxs is fine
> > > for the group but under Debian doesn't work for the UID. In Samba I
> > > just 'force user' but I am working in a mixed environment. Do I have to
> > > resort to ACL's?
> >
> > --
> > Swen Hartmut Tromm
> > IT and Software Consultants
> > 13 Ashlake Road
> > London SW16 2BB (UK)
> >
> > http://sht-services.co.uk
> >
> > Tel.: ++44 (0)20 8835 8541
> > Mob.: ++44 (0)7731 654 344
> > --
> > Gllug mailing list - Gllug at gllug.org.uk
> > http://lists.gllug.org.uk/mailman/listinfo/gllug
--
Swen Hartmut Tromm
13 Ashlake Road
London SW16 2BB (UK)
Tel.: ++44 (0)20 8835 8541
Mob.: ++44 (0)7731 654 344
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list