Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175887

Re: chgrp with user

From Xen <list@xenhideout.nl>
Newsgroups linux.debian.user
Subject Re: chgrp with user
Date 2016-12-23 01:20 +0100
Message-ID <sRlKy-82e-11@gated-at.bofh.it> (permalink)
References <sRfvs-3YW-37@gated-at.bofh.it> <sRlhv-7zC-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


deloptes schreef op 23-12-2016 0:40:

> perhaps you want to chown your-user.www-data /path
> 
> or something like
> 
> php5 -S <addr>:<port> Run with built-in web server.
> 
> Give up the bad ideas, seriously!

I think my point was more that I didn't know how to chgrp, but I found I 
needed to add myself to www-data first before I could chgrp to it.

Which seems reasonable, I just don't get why it would be required :p. In 
general you can only use it to give permissions to something, not take 
it away. Maybe if you got really inventive you could trigger some 
process running under a certain user to do something with a file owned 
by you if it otherwise wouldn't have been able to..., but... ;-).

You could also achieve that by giving everything o+rwx permissions...

But ehm.. I guess it is just a personal bafflement ;-). In that I fail 
to see how giving permissions to something you already own to another 
would be a security implication. But maybe it is more an identity issue.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

chgrp with user Xen <list@xenhideout.nl> - 2016-12-22 18:40 +0100
  Re: chgrp with user Dan Ritter <dsr@randomstring.org> - 2016-12-22 20:10 +0100
    Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-23 01:20 +0100
      Re: chgrp with user Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-23 14:10 +0100
        Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-27 12:30 +0100
  Re: chgrp with user deloptes <deloptes@gmail.com> - 2016-12-23 00:50 +0100
    Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-23 01:20 +0100
      Re: chgrp with user Nicolas George <george@nsup.org> - 2016-12-23 09:40 +0100
        Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-27 13:30 +0100
          Re: chgrp with user Gene Heskett <gheskett@shentel.net> - 2016-12-27 16:00 +0100
            Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-27 16:40 +0100
              Re: chgrp with user deloptes <deloptes@gmail.com> - 2016-12-27 21:10 +0100
                Re: chgrp with user Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-27 22:50 +0100
                Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-27 23:00 +0100
                Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-27 23:20 +0100
                Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-28 13:40 +0100
                Re: chgrp with user deloptes <deloptes@gmail.com> - 2016-12-28 20:20 +0100
                Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-29 09:10 +0100
                Re: chgrp with user Xen <list@xenhideout.nl> - 2016-12-27 22:50 +0100
  Re: chgrp with user Andy Smith <andy@strugglers.net> - 2016-12-23 15:20 +0100

csiph-web