Søndag 11 marts 2007 11:08 skrev Verner Kjærsgaard:
> Søndag 11 marts 2007 10:47 skrev John Andersen:

>
> I use CIFS to mount a couple of SMB shares from my central file server into
> my laptop. I used to be able to run a script as an ordinary user (having
> chmod +2 some smbmount files) to accomplish this.
>
> - Now, I have to run the mounting scripts as root...annoying. What can I
> do?
>
> Here is the script:
> #!/bin/bash
> mount -t cifs //172.16.9.100/LNXfavk     /home/vk/Documents/sun/favk    -o
> username=vk,password=secret,workgroup=LINUXGROUP,rw
>
> This is from the directory containing it:
> -rwsr-sr-x 1 root users  898 18 dec 21:40 sun.sh
>


TYPO in my former message!
should read: chmod +s, not chmod+2..


-- 
-------------------------------------------------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to