RE: permissions another question
> Date: Wed, 11 Oct 2006 14:30:34 +0100
> From: brad@fineby.me.uk
> To: debian-user@lists.debian.org
> Subject: Re: permissions another question
>
> On Wed, 11 Oct 2006 13:17:46 +0000
> "Andrew Critchlow" <a_critchlow@hotmail.com> wrote:
>
> Hello Andrew,
>
> > then /test/file I then use the command "chmod g+s test", now when I
> > look at file using "ls -l" the group permissions for the file are
> > still the same as they were originally?Am I doing something wrong?
>
> The message you responded to didn't make it clear that this would
> only affect files created after the change to the directory. To change
> settings to all files and sub-directories within the base directory,
> you need to use the -R (recursive) option.
>
> --
> Regards _
> / ) "The blindingly obvious is
> / _)rad never immediately apparent"
>
> Does she always shout at you, does she tell you what to do
> Family Life - Sham 69
Should the files that have picked up the permisions read exactly the same as the folder, I did what you suggested, chmod g+s -R test and now the other files have shown up as:
/test = drwsr--r--
then I issue chmod g+s -R test
/test = drwsr-Sr--
then I create a file within test
cd test
touch file
and file permission are:
/test/file = -rw-r--r--
this look correct?
Reply to: