Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-26-2005, 04:27 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
sudo/bash question

Hello, i'am having a problem,
the problem is that when a run the script it does not unmount the directory, but if i run the command "sudo /bin/umount /path" directly in the shell it works.
This is

sudo /bin/umount /path

This is strange becouse when i run the script it does all except the unmount line.
In the other hand i run the exact line under de exact user in the shell and it work. Any ideias?
Old 07-26-2005, 05:10 PM   #2
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 110Reputation: 110
Something like a missing or misplaced "if", maybe?


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
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
sudo mv question howarddevore Linux - General 5 08-16-2005 11:59 AM
SUDO question sajjad02 Linux - Newbie 1 03-07-2005 10:21 PM
Sudo question satimis Fedora 6 11-24-2004 08:58 PM
Sudo question. wbdune Linux - Newbie 2 10-14-2003 12:40 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:57 AM.

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