Re: Changing to a windows mounted share from a Mac OS X machine
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40766
interpreted = N
texte = The line you will need to add iswww
ALL=NOPASSWD:/bin/lsThis will allow you to run 'ls' as user root when you are logged in asuser www (the webcatuser) without asking for a password ..you need to use visudo to edit the sudoers file.HTH .. Alain> Alain,>> Thanks for the reply.>> What is strange is that I can make any changes using the gui, but not> from the shell. So I do believe I need to use sudo (as you suggested)> but what is the proper syntax to enter a line in the sudoers file so> that I am not prompted for a password?>> Thanks>> Dale>> on 20/6/02 11:00 am, Alain Russell at alain.russell@blackpepper.co.nz> wrote:>>> Dale,>> If you try and access the share with the command line can you list the>> files ??to see if you are having a permissions error type>>>> cd /Volumes/g3071/>> sudo -u www ls -l>> enter password if asked>>>> and see if the files list - this would be that same response WebCat>> gets ..>>>> Alain>>>>> Hello,>>>>>> I have a project I am working on where I download some files to a Mac>>> OS X machine, do a little bit of processing and then have to copy the>>> files to a specified folder on a Windows share.>>>>>> If I do:>>>>>> [shell]>>> cd /Volumes/>>> ls -al>>> [/shell]>>>>>> I see the mounted shares as g3071 and g3071%2fbox where the second>>> one is actually a folder on the g3071 share, and is the one I need.>>> The second one shows up on my desktop simply as box>>>>>> However, if I try>>>>>> [shell]>>> cd /Volumes/g3071/>>> ls>>> [/shell]>>>>>> I get a directory listing of the folder the template is in. Same if I>>> try the second entry.>>>>>> I am using DAVE 3.1.1 to mount the windows shares. I can access the>>> shares fine from the desktop.>>>>>> Not being able to move these files to this share is really annoying>>> and preventing this project from being completed. Anyone have any>>> ideas?>>>>>> I can't ftp to this box as ftp is not enabled and the admins will not>>> enable it, or make any other changes to the box.>>>>>> Thanks>>>>>> Dale>>>>>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> Web Archive of this list is> at: http://search.smithmicro.com/-- Alain RussellBlackpepper Interactivealain.russell@blackpepper.co.nzph. 09 520 6280-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
The line you will need to add iswwwALL=NOPASSWD:/bin/lsThis will allow you to run 'ls' as user root when you are logged in asuser www (the webcatuser) without asking for a password ..you need to use visudo to edit the sudoers file.HTH .. Alain> Alain,>> Thanks for the reply.>> What is strange is that I can make any changes using the gui, but not> from the shell. So I do believe I need to use sudo (as you suggested)> but what is the proper syntax to enter a line in the sudoers file so> that I am not prompted for a password?>> Thanks>> Dale>> on 20/6/02 11:00 am, Alain Russell at alain.russell@blackpepper.co.nz> wrote:>>> Dale,>> If you try and access the share with the command line can you list the>> files ??to see if you are having a permissions error type>>>> cd /Volumes/g3071/>> sudo -u www ls -l>> enter password if asked>>>> and see if the files list - this would be that same response WebCat>> gets ..>>>> Alain>>>>> Hello,>>>>>> I have a project I am working on where I download some files to a Mac>>> OS X machine, do a little bit of processing and then have to copy the>>> files to a specified folder on a Windows share.>>>>>> If I do:>>>>>> [shell]>>> cd /Volumes/>>> ls -al>>> [/shell]>>>>>> I see the mounted shares as g3071 and g3071%2fbox where the second>>> one is actually a folder on the g3071 share, and is the one I need.>>> The second one shows up on my desktop simply as box>>>>>> However, if I try>>>>>> [shell]>>> cd /Volumes/g3071/>>> ls>>> [/shell]>>>>>> I get a directory listing of the folder the template is in. Same if I>>> try the second entry.>>>>>> I am using DAVE 3.1.1 to mount the windows shares. I can access the>>> shares fine from the desktop.>>>>>> Not being able to move these files to this share is really annoying>>> and preventing this project from being completed. Anyone have any>>> ideas?>>>>>> I can't ftp to this box as ftp is not enabled and the admins will not>>> enable it, or make any other changes to the box.>>>>>> Thanks>>>>>> Dale>>>>>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> Web Archive of this list is> at: http://search.smithmicro.com/-- Alain RussellBlackpepper Interactivealain.russell@blackpepper.co.nzph. 09 520 6280-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Alain Russell
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Path of Events (1999)
Summing fields (1997)
grep matching (2003)
Searching multiple Databases (1997)
problem serving foreign languages text (1997)
Not really WebCat (1997)
Striping Characters (1998)
Showif for mulitple variations (1997)
Help! WebCat install problems... (2000)
Server slowing down. (1997)
OK to delete records while finding them? (2000)
Trigger Error (2001)
SET (1998)
webCatalog and Stocks (1998)
Re:quit command on NT (1997)
Protect (1997)
Trouble with formula.db + more explanation (1997)
text size limitation (1997)
setting line item numbers (1998)
how do you and/or in a search? (1997)