[TriLUG] When you touch it, it's STICKY...

James Brigman jbrigman at nc.rr.com
Fri Mar 25 11:38:41 EST 2005


Boys, boys! Please..."permishions"??? privilages??? 

You guys are killin' me here with this talk of "permishions" (surely
that was an INTENTIONAL misspelling, right? ;-)... looky here:

[bill at thffffpt ~]# ls -al | grep test
drwxr-xr-x   2 root apache   4096 Mar 25 11:26 test

[bill at thffffpt ~]# chmod 2775 test

[bill at thffffpt ~]# ls -al | grep test
drwxrwsr-x   2 root apache   4096 Mar 25 11:26 test

[bill at thffffpt ~]# cd test
[bill at thffffpt test]# touch blahblah

[bill at thffffpt test]# ls -al
total 20
drwxrwsr-x   2 root apache 4096 Mar 25 11:27 .
drwxr-x---  37 root root   4096 Mar 25 11:26 ..
-rw-r--r--   1 root apache    0 Mar 25 11:27 blahblah

Try it...tastes great, less filling....

JKB

On Fri, 2005-03-25 at 07:54 -0500, Aaron S. Joyner wrote:
> Lance A. Brown wrote:
> 
> >Merle Watts wrote:
...
> >>however, i had to manually set the permisions to the file. i had to
> >>change the group to apache and set read and execute privilages for
> >>that group on the file.
> >>
> >>this will turn to a big problem when i place my 800 meg worth of
> >>pictures and files into this folder.
> >>
> >>is there a way to set it so that every file in this folder, the
> >>var/www/html, is set to the appache group with read and execute
> >>turned on?
> >>
> >>I did not have this problem when I was using mandrake.





More information about the TriLUG mailing list