Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-21-2006, 11:47 AM   #1
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
group and permisions?

I have made a group www-data (Actually it was done automaticly). So there is a folder "www" who's owner is root, and group root. I change the group of the folder to www-data, and permisions 660 using
chgrp -R www-data ./www
chmod -R 660 ./www

also I use the system settings in kde to add www-data to the secondary group of myself. Why can't I access "./www"?

I want the "other" part of the permision to be 0. Is it neccessary to change the owner too?

Old 12-21-2006, 11:50 AM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
You might have to log out and log back in for the kuser settings to take effect. Try from the command line typing groups and see if www-data is listed.
Old 12-21-2006, 12:06 PM   #3
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
Is it possible to do it without reloging, I have files open that I don't want to reopen.

I have noticed that writing groups doesn't have www-data but sudo groups myself prints out www-data.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
group: add complete group into other group max_mad SUSE / openSUSE 1 04-12-2006 01:43 AM
howto chowto change file permisions in multiplhange file permisions in multiple dirs? pingvina Linux - Software 3 01-13-2006 03:10 PM
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 PM.

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