Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
im running the oracle vm box but truing the chmod 7000 on a file ,But it;s not working.Permissions a re not applying.
Need help?
try:
chmod 700 file.txt
7 - user rwx
0 - group none
0 - others none
chmod 7000 file should be setting setuid setgid and the sticky bit. (Equivalent to chmod ug+s,+t file). Are you sure you don't mean chmod 0700? This can help: http://permissions-calculator.org/symbolic/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I want to find all the files a piece of software has left in my system.
In the terminal I type:
$ find /Users -name software -print
And every time find tries to look into a folder within the Library directory, Terminal returns "operation not permitted".
So I tried:
$ sudo find /Users -name software -print
Same result
So I finally enabled super user, logged in with command su, entered my command: same result.
1 - I do not understand why even the super user is not allowed to search the library.
2 - what is the work around?
Thanks for your help
I have found the answer.
Terminal needs to be added in the System Preferences/Security and Privacy/ full disk access!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm running rsync underneath Supervisor. I normally start rsync daemon like this:
rsync --daemon --config=/home/zs6ftad/deployments/cmot_rsync_daemon/rsyncd.conf --no-detach
I'd like to make it so that any log messages get echo'd to standard output instead of being stored in the log-file. Is there an option which will make an rsync server behave this way?
You can get rsyncd to log to stdout by setting the --log-file argument to /dev/stdout
rsync --daemon --no-detach --log-file=/dev/stdout
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I've got an ASW Host running Ubuntu and I don't see an etc folder such as what is referenced in these docs.
Why is that?
I also don't see a /usr/local/bin folder
When I do an ls -a I get:
You are probably in /home/ubuntu.
Type
sudo ls -a /etc
Your currently in your home folder. You need to do ls -l / or first cd / and than ls -l. The /-folder is the root folder of a Linux system.
More information: Linux file system structure
You are looking in your HOME directory.
Try to look in /etc !
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to edit a file in vi editor - and when I try to save the changes it says READ ONLY. Even when I try to do a chmod I get an error saying I cannot do so.
I have logged in Unix using a personal ID and not a service one
Because you aren't owner of this file. You need to sudo vim with an owner user.
Try opening editing the file in vim using: sudo vim <filename>
Some people also recommend adding this to your .vimrc file so you can open the file without sudo then write to it anyway using :w!!
" Sudo to write
cnoremap w!! w !sudo tee % >/dev/null
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My system admin gave me a file with iptables rules.
What command do I type in to load this?
I heard people can do this in one line?
Something like...iptables > thefile.dat ????
You can save your current iptables using iptables-save as in
iptables-save >thefile.dat
and later load it with
cat thefile.dat | iptables-restore