Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
is there anyway I can edit a file that I dont have permission for?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ghetto Cowboy" data-source="post: 1152154" data-attributes="member: 181965"><p>Hi, ive been messing around with terminal and I saw this code that can set up a very simple server on your 8080 port</p><p></p><p>python -m SimpleHTTPServer 8080</p><p></p><p>And it works great and ive had fun messing around with it, but when i put an html file named index.htm or named anything else, the html code isn't translated into the page, it justs displays the code</p><p></p><p>i've navigated to the file</p><p></p><p>/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SimpleHTTPServer.py</p><p></p><p>and found that when I edit it, i can edit the html file that is the root directory when you start that server, the only thing is that I can't save the file as i dont have permission. Anyone have any tips?</p></blockquote><p></p>
[QUOTE="Ghetto Cowboy, post: 1152154, member: 181965"] Hi, ive been messing around with terminal and I saw this code that can set up a very simple server on your 8080 port python -m SimpleHTTPServer 8080 And it works great and ive had fun messing around with it, but when i put an html file named index.htm or named anything else, the html code isn't translated into the page, it justs displays the code i've navigated to the file /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SimpleHTTPServer.py and found that when I edit it, i can edit the html file that is the root directory when you start that server, the only thing is that I can't save the file as i dont have permission. Anyone have any tips? [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
is there anyway I can edit a file that I dont have permission for?
Top