banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix Bỏ message "Run or Display" khi chạy *.htm file trong FC4 ?  XML
  [Question]   Bỏ message "Run or Display" khi chạy *.htm file trong FC4 ? 06/05/2007 01:53:35 (+0700) | #1 | 57323
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Mỗi khi chạy htm file, tớ đều gặp thông báo tùy chọn: Run, Display, Cancel, Run in Terminal. Làm sao để bỏ nó, và mặc định là Display luôn.

Cảm ơn mọi người.
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Re: Bỏ message "Run or Display" khi chạy *.htm file trong FC4 ? 06/05/2007 03:22:10 (+0700) | #2 | 57331
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
he, tớ kiếm được solution rồi:

En RedHat 9.0 haces:
start-here -> preferences -> file management -> behavior -> Run executable text files when they are clicked
 


I'd suspect the commands you'd be after are: chmod -R -x *.htm and chmod -R -x *.html
 


cd /
sudo chmod -x `find . -name '*.htm'`
sudo chmod -x `find . -name '*.html'`
 

Let's build on a great foundation!
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|