Displaying 2 results from an estimated 2 matches for "d_john".
Did you mean:
20john
2008 May 03
2
ActionMailer Multiple recipients
...end mails. I want to send mails to
multiple recipients which I get from a view. Here is the controller
code.
def groupcorres
user = User.find(session[:user_id])
address = Array.new
lines = Array.new
args = params[:id].to_s # params[:id] is an array of user screen
name. ex: j_doe, d_john
lines = args.split(",")
for line in lines
recipient = User.find_by_screen_name(line)
email = recipient.email.to_s + ","
address << email
end
if param_posted?(:message)
@message = Message.new(params[:message])
if @message.valid?...
2011 Jun 21
1
Setting domain group ownership on files
...chmod 2777 /tmp/public. Then from a Windows XP work
station I logged in as a domain user, connected to the share and
created a folder. When I list the folder from the shell on the server
I see:
root at dev2:/etc/samba# ls -ltr /tmp/public/
total 4
drwxrwxr-x 2 DOM\djohn users 4096 2011-06-21 11:44 d_john
That's great, the domain user owns the file. However the group owner
is the local group 'users' (coming from the chmod above). My question
is "Is there a way to chgrp the parent folder to the DOM\Domain users
group?" or do I have to employ a groupmap between Domain users and...