2009/5/12 mcclnx mcc :
>
> We are tried to count how many files belong to certain group. Our system
> administrator told us "non-owner" can easy change file group name to another.
> I have been tried several combination and never successful (only ROOT can
> change file group to other name).
>
>
Filipe Brandenburger wrote:
> Did you just add yourself to that group? The processes you run will
> not know you are a member of that group until you logout and login
> again (open new SSH session, etc.).
>
> When you issue the "id" command (with no parameters), does it include
> the "postgres" gro
On Wed, May 13, 2009 at 11:18, John R Pierce wrote:
> Filipe Brandenburger wrote:
>>> [pie...@ test]$ grep pierce /etc/group
>>> postgres:x:26:pierce
>>> pierce:x:503:
>>
>> It would work if user "pierce" belonged to group "postgres".
>
> Um, I do, I showed that up there.
>
> I was both owner
Filipe Brandenburger wrote:
> Hi,
>
> On Wed, May 13, 2009 at 11:01, John R Pierce wrote:
>
>> nope.
>>
>> [pie...@ test]$ grep pierce /etc/group
>> postgres:x:26:pierce
>> pierce:x:503:
>> [pie...@ test]$ touch x
>> [pie...@ test]$ ls -la
>> total 8
>> drwxrwxr-x 2 pierce pierce
;s not dead yet."
William Lloyd George
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Robert Nichols
Sent: Tuesday, May 12, 2009 6:51 PM
To: centos@centos.org
Subject: Re: [CentOS] can non-owner change file group setup?
nate wrote:
Hi,
On Wed, May 13, 2009 at 11:01, John R Pierce wrote:
> nope.
>
> [pie...@ test]$ grep pierce /etc/group
> postgres:x:26:pierce
> pierce:x:503:
> [pie...@ test]$ touch x
> [pie...@ test]$ ls -la
> total 8
> drwxrwxr-x 2 pierce pierce 4096 May 13 07:58 .
> drwxr-xr-x 37 pierce root
mcclnx mcc wrote:
> I don't think that is true: (my login ID are member of DBA and OINSTALL
> group)
>
> $ ls -al
> total 13936
> drwxrwxrwt 8 root root4096 May 13 04:02 .
> drwxr-xr-x 32 root root4096 Feb 11 15:36 ..
> -rwxrwxr-- 1 oracle dba9 May 11 20:50 a
nate wrote:
> Scott Silva wrote:
>
>
>> But if you only have read access to the original file, can you overwrite it?
>>
>
> If you have write access to the directory yes you should be able
> to, if you only have read access to the directory I would expect
> not.
>
nope.
[pie...@ te
mcclnx mcc wrote:
> we plan to count how many files belong to that group. For example HR or
> Finance.
>
not sure why you need to change the file's group to do this.
for g in hr finance; do
echo $(find . -type f -group $g |wc -l) files in group $g
done
_
chgrp: changing group of `aabb': Operation not permitted
--- 09/5/12 (二),Les Mikesell 寫道:
> 寄件者: Les Mikesell
> 主旨: Re: [CentOS] can non-owner change file group setup?
> 收件者: "CentOS mailing list"
> 日期: 2009年5月12日,二,下午3:38
> nate wrote:
> > mcclnx mcc wrote:
chgrp: changing group of `aabb': Operation not permitted
--- 09/5/12 (二),nate 寫道:
> 寄件者: nate
> 主旨: Re: [CentOS] can non-owner change file group setup?
> 收件者: centos@centos.org
> 日期: 2009年5月12日,二,下午5:49
> Scott Silva wrote:
>
> > But if you only have read acce
we plan to count how many files belong to that group. For example HR or
Finance.
--- 09/5/12 (二),Filipe Brandenburger 寫道:
> 寄件者: Filipe Brandenburger
> 主旨: Re: [CentOS] can non-owner change file group setup?
> 收件者: "CentOS mailing list"
> 日期: 2009年5月12日,二,下午3:13
On Tue, 2009-05-12 at 17:50 -0500, Robert Nichols wrote:
> nate wrote:
> > Scott Silva wrote:
> >
> >> But if you only have read access to the original file, can you overwrite
> >> it?
> >
> > If you have write access to the directory yes you should be able
> > to, if you only have read access
nate wrote:
> Scott Silva wrote:
>
>> But if you only have read access to the original file, can you overwrite it?
>
> If you have write access to the directory yes you should be able
> to, if you only have read access to the directory I would expect
> not.
Technically, that's not overwriting.
Scott Silva wrote:
> But if you only have read access to the original file, can you overwrite it?
If you have write access to the directory yes you should be able
to, if you only have read access to the directory I would expect
not.
nate
___
CentOS ma
on 5-12-2009 12:38 PM Les Mikesell spake the following:
> nate wrote:
>> mcclnx mcc wrote:
>>> We are tried to count how many files belong to certain group. Our system
>>> administrator told us "non-owner" can easy change file group name to
>>> another. I have been tried several combination and ne
nate wrote:
> mcclnx mcc wrote:
>> We are tried to count how many files belong to certain group. Our system
>> administrator told us "non-owner" can easy change file group name to
>> another. I have been tried several combination and never successful (only
>> ROOT can change file group to other na
mcclnx mcc wrote:
>
> We are tried to count how many files belong to certain group. Our system
> administrator told us "non-owner" can easy change file group name to
> another. I have been tried several combination and never successful (only
> ROOT can change file group to other name).
>
> Does an
2009/5/12 mcclnx mcc :
> Does anyone know how "no-owner" can change file group name?
I believe that is not possible.
What exactly are you trying to accomplish?
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/ce
We are tried to count how many files belong to certain group. Our system
administrator told us "non-owner" can easy change file group name to another.
I have been tried several combination and never successful (only ROOT can
change file group to other name).
Does anyone know how "no-owner" ca
20 matches
Mail list logo