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
Terminal redirect output to file permission
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="mYonder" data-source="post: 1645332" data-attributes="member: 345998"><p>Hi!</p><p></p><p>I'm having a weird issue that I just can't wrap my head around and it's causing me issues further down the line. When I try to do the following in the terminal, in my own user home directory:</p><p></p><p>[CODE]echo "hi" > testfile.txt[/CODE]</p><p></p><p>I am getting the file permission like this:</p><p></p><p>[CODE]ls -l testfile.txt </p><p>-rw-r--r-- 1 1675172734 3 Mar 7 11:41 testfile.txt[/CODE]</p><p></p><p>Is it possible to change this default file permission?</p><p></p><p>The issue that I'm trying to solve when using browserify my permissions are never executable even though the input files are.. even when supplying the -o output parameter the file still gets the same permission as above.</p></blockquote><p></p>
[QUOTE="mYonder, post: 1645332, member: 345998"] Hi! I'm having a weird issue that I just can't wrap my head around and it's causing me issues further down the line. When I try to do the following in the terminal, in my own user home directory: [CODE]echo "hi" > testfile.txt[/CODE] I am getting the file permission like this: [CODE]ls -l testfile.txt -rw-r--r-- 1 1675172734 3 Mar 7 11:41 testfile.txt[/CODE] Is it possible to change this default file permission? The issue that I'm trying to solve when using browserify my permissions are never executable even though the input files are.. even when supplying the -o output parameter the file still gets the same permission as above. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Terminal redirect output to file permission
Top