LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 08-28-2004, 11:36 PM   #1
komox
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
newgrp setgid on website files


mandrake 10 with apache2, DocumentRoot is default /var/www/html
I created a new group called webadmin, recursively changed the group on
DocumentRoot (/var/www/html) to webadmin, recursive give write to group on DocumentRoot, and then add that group as a/the supplemental group to applicable users. user 1 and user 2 are both in webadmin group
I create test.html as user 1 but cannot modify it as user 2 but I need any files that are created to be writable by any user in webadmin group.
I have tried setgid on and off but doesn't seem to make any difference..
what am I doing wrong here?
 
Old 09-04-2004, 07:55 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
What are the permissions on the file in question (ls -al test.html) and what's user1's umask?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Managing a Website - Uploading Files BionicJoe Linux - Software 1 02-11-2005 02:37 AM
setuid + setgid files... jd32 Linux - Security 2 10-16-2004 11:10 AM
newgrp question bjdea1 Linux - Security 2 09-02-2004 08:55 PM
using newgrp chosmer Linux - Security 1 11-30-2002 01:20 AM
newgrp command within perl/csh script bobsey Programming 1 04-13-2001 10:05 PM


All times are GMT -5. The time now is 04:30 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration