Thread
:
Estimating the charge time
View Single Post
papo
2010-01-03 , 18:42
Posts: 14 | Thanked: 3 times | Joined on Jan 2010
#
5
Hi
Originally Posted by
zehjotkah
-rw-r--r-- 1 user root 162 Jan 3 17:32 profile.sh
The chmod did not work then:
~ $ chmod 644 profile.sh
~ $ ls -lh profile.sh
-rw-r--r-- 1 user users 152 Jan 3 16:56 profile.sh
~ $ chmod 755 profile.sh
~ $ ls -lh profile.sh
-rwxr-xr-x 1 user users 152 Jan 3 16:56 profile.sh
You can only execute the script if the executable bit (x) is set. Alternatively, you can also try
sh ./profile.sh
which does not require the executable bit.
Thank you for your efforts
Matt
Quote & Reply
|
papo
View Public Profile
Send a private message to papo
Find all posts by papo