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 6 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I need to mount other server via sshfs with read-only mode. My OS is Linux (Ubuntu). Is it possible to do that?
My command used with that connection is:
sudo sshfs user#123.123.123.123:/home/user /media/mountpoint/ -o allow_other
After running that I have write-access. I need to have read-only. Please help.
just add one more option: sshfs user#123.123.123.123:/home/user /media/mountpoint/ -o allow_other -o ro .
this should help: http://ubuntuforums.org/showthread.php?t=975107
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 9 months ago.
The community reviewed whether to reopen this question 9 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I need to be able to start the oracle-xe-21c at will, and do not want it to start automatically at system boot.
The command:
sudo systemctl disable oracle-xe-21c
returns the following:
oracle-xe-21c.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable oracle-xe-21c
update-rc.d: error: oracle-xe-21c Default-Start contains no runlevels, aborting.
How can I disable automatic startup?. I am on Lubuntu 20.04.
Suggesting to remove oracle-xe-21c.service file from the service folder will disable the service.
sudo mv /etc/systemd/system/oracle-xe-21c.service /home/oracle
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 have a secondary hard drive and wanted to to mount the drive to the /home/josh/plexmedia2 folder.
In order to to do that I run the below command
sudo mount /dev/sdb1 /home/josh/plexmedia2
However, when I reboot the server, the drive becomes unmounted. How can I make the drive mount itself on boot?
Put your command in a script and save the script in /etc/init.d directory. Giving the necessary permission.
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 using Linux system but by mistake I fired a chmod command as follows:-
chmod -R 777 /
after that I restart my System. But when I try to login, the system is login but after 2-3 seconds again to login window. Please help me to solve this problem.
Just get your important files and configs backup them. format the partition which the OS installed, then reinstall again, sorry there is no easy way to correct these permissions.
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 need to do a lot of cleaning in my virtual machine whose operating system is Ubuntu.
Normally in Windows, there is this kind of directory that contains temporary files and that should be cleaned:
C:\Documents and Settings\Administrator\Local Settings\Temp
Does it exist such a directory in Ubuntu? If yes, what is it?
run this in shell:
sudo rm -rf /tmp/*
On Ubuntu and other unices, it is /tmp. It is automatically cleaned up when the machine reboots.
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 9 years ago.
Improve this question
Is there a way to find out if a mount drive, for ex: /var, is mount to an NFS?
You can just use mount command to check, e.g
mount |grep nfs
Or if you want to list all nfs you've mounted:
mount -l -t nfs4