How can I provide equal file privileges to users in the same group? An
example would be user1:devel can change the read/write attributes of
user2:devel files. I believe that this should be easy but I have not been
able to get it working.
Thanks,
Kevin
“Kevin Hykin” <kevin.hykin@bepco.com> wrote in
news:a7ctp2$n5a$1@inn.qnx.com:
How can I provide equal file privileges to users in the same group? An
example would be user1:devel can change the read/write attributes of
user2:devel files. I believe that this should be easy but I have not
been able to get it working.
Add them to the same group, and then give the common group permissions to
the files.
Take a look under passwd in the help docs, as well as any docs (internet)
on UNIX file permissions
\
Cheers,
Adam
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>
Thanks for the response Adam.
I do not think I stated my question well. My desire is to have users from
the same group the ability to chmod the attributes of a file even if the
user changing the file attributes is not the owner. Maybe this is just not
available in the system but I was thinking that there must be the ability to
provide it.
An example would be:
start:
-r–r–r-- 1 user1 devel 100 Mar 05 2001 test
I would like to be user2 and use the command:
chmod 664 test
result:
-rw-rw-r-- 1 user1 devel 100 Mar 05 2001 test
Currently my setup is:
passwd
user1:x:101:200:user1:/user1dir:/bin/sh
user2:x:102:200:user2:/user2dir:/bin/sh
group:
devel:x:200:user1,user2
I realize that a file has a rwx block for specifying privileges for the
group but I would like to be able to change those privileges even if I do
not own the file.
Thanks,
Kevin
“Adam Mallory” <amallory@qnx.com> wrote in message
news:Xns91D95E3177BFamalloryqnxcom@209.226.137.4…
“Kevin Hykin” <> kevin.hykin@bepco.com> > wrote in
news:a7ctp2$n5a$> 1@inn.qnx.com> :
How can I provide equal file privileges to users in the same group? An
example would be user1:devel can change the read/write attributes of
user2:devel files. I believe that this should be easy but I have not
been able to get it working.
Add them to the same group, and then give the common group permissions to
the files.
Take a look under passwd in the help docs, as well as any docs (internet)
on UNIX file permissions
\
Cheers,
Adam
QNX Software Systems Ltd.
[ > amallory@qnx.com > ]
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net