#1  
Old 13th November 2009, 01:56
kopper kopper is offline
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default permissions to /var /usr

hi guys

I had 10 users and 3 linux servers
they are normal users

I need to assign read access to these 1o users to /opt /var /usr and all files and folder withing them

how can I accomplish that without going user by user?


any idea?

should this command work? well for me is not working

Code:
chmod -R o+r /var/*
is that command OK?
Reply With Quote
Sponsored Links
  #2  
Old 13th November 2009, 15:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

I think
Code:
chmod -R o+r /var
should be enough.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
kopper (13th November 2009)
  #3  
Old 13th November 2009, 16:21
kopper kopper is offline
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default

well I think I need it on /var /usr

do you think is a good idea? provide read permissions to all folders and files with those 2?

thanks
Reply With Quote
  #4  
Old 13th November 2009, 18:03
kopper kopper is offline
Junior Member
 
Join Date: Sep 2009
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default

i just found is not a good practice AT ALL
Reply With Quote
  #5  
Old 14th November 2009, 14:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

A safer way would be to create a group for these 10 users and then give read permissions to just that group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
www, mysql folder in limited /var partition by mistake bpmee Installation/Configuration 1 2nd October 2009 15:12
Verify proper permissions filch General 6 7th February 2009 16:05
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 03:58
Logcheck Permissions Problems Drek Server Operation 1 7th September 2007 16:43
Moving /var to a new drive & renaming mount point tdd_topdog Technical 2 12th July 2006 06:10


All times are GMT +2. The time now is 10:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.