Questions tagged [read-write]

39 questions
62
votes
6 answers

Mounting a squashfs filesystem in read-write

I have a Clonezilla installation on a USB stick and I'd like to make some modifications to the operating system. Specifically, I'd like to insert a runnable script into /usr/sbin to make it easy to run my own backup command to make backups less…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
19
votes
5 answers

USB Disk Read-only, cannot format - Turn off write-protection

I have a USB disk which does not allow me to format/mount/unmount or created partitions on it. Using dmesg | tail gives me the following result: I found this post on AskUbuntu and tried using the accepted answer. I get the following result, but it…
kRiZ
  • 291
  • 1
  • 2
  • 4
13
votes
2 answers

Under what conditions exactly does SIGPIPE happen?

Say we have a named pipe called fifo, and we're reading and writing to it from two different shells. Consider these two examples: shell 1$ echo foo > fifo shell 2$ cat fifo foo shell 1$ echo bar > fifo shell 1$ cat > fifo
Naïm Favier
  • 232
  • 1
  • 2
  • 8
7
votes
2 answers

Overwriting an input file

Solutions that I have come across for replacing the contents of an input file with converted output involve using a temp file or the sponge utility. Stephane Chazelas's answer here indicates another way involving opening the file in read-write mode…
iruvar
  • 16,515
  • 8
  • 49
  • 81
4
votes
3 answers

Write access to NTFS drives

Never had this problem before. The drives will not give me write access Drives are ntfs. Fstab was set on default, now tried rw option and nothing. Using Manjaro. How can I get write access to drives? Those are the permissions at the mount…
Leopoldini
  • 61
  • 1
  • 1
  • 6
3
votes
1 answer

Can I mount ext4 without writing the last mountpoint to the filesystem?

I have an old ext4 disk partition that I have to investigate without disturbing it. So I copied the complete partition to an image file and mounted that image file while continuing my investigation. Now while I do not write to the mounted…
db-inf
  • 313
  • 1
  • 7
3
votes
0 answers

Cannot write to/ cannot create directory (Read-only file system)

I have a dual boot system with Kali Linux and Windows. I have 4 four partitions, one with a Windows install, another with the Kali Linux installation and the other two left aside for storage of other personal media and files. Untill recently, I…
Program-Me-Rev
  • 327
  • 2
  • 7
  • 15
2
votes
5 answers

AWK Search massive file and write to variable name

I want to pull data that I will need to reformat from a simulation file I am working with to prepare it as input for running other simulations. The target data is an optimized chemical z-matrix. The only difference from the example in the link is…
user507974
  • 143
  • 2
  • 7
2
votes
1 answer

Testing LTO drive with mt and dd

Here are my commands mt -f /dev/st0 rewind dd if=/dev/st0 of=- As I understand it the first command rewinds my tape in /dev/st0, and the second command writes contents of /dev/st0 to -. My questions are Where is -? What is this command doing when…
2
votes
0 answers

Why the user root doesn't have "w" permission of its home directory?

I'm on Oracle Linux 7.6. The user root apparently has write permission for its own home directory /root. But why the mode bits of /root shows dr-xr-x---. instead of drwxr-x---.? root:[~]# cat /etc/*release* Oracle Linux Server release…
Just a learner
  • 1,766
  • 4
  • 22
  • 32
2
votes
1 answer

/sys/kernel/debug/dynamic_debug/control not writable, follow xhci_hcd debug guide

I want to follow this tutorial. But I can't write to /sys/kernel/debug/dynamic_debug/control- or [debugfs]/dynamic_debug/control-file as suggested by the guide, even tough I am root, the special filesystem is mounted rw and the control-file has…
ArchLinuxTux
  • 593
  • 3
  • 8
  • 23
2
votes
0 answers

Can't set filesystem to rw after crash

My Mint crashed twice yesterday. Googling for frozen system with flashing caps and scroll-lock LEDs made me believe it was a hardware problem. I carefully cleaned everything, and the hardware seems to work ok again - I had no more crashes. Today I…
2
votes
1 answer

checkPermissions Missing write access to /usr/local/lib/node_modules

I tried to install the npm install pug, could not because of the permisions, got this: checkPermissions Missing write access to /usr/local/lib/node_modules However im logged in as as root Linards:~ Berzins$, as I tried to enable the root…
2
votes
1 answer

Remounting is not supported at present. You have to umount volume and then mount it once again

I was not able to chmod a file in my /dev/sda3 on my Ubuntu12.04 system. This is what I get when I try to see its information: $ mount | grep 'media' /dev/sda2 on /media/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) …
Swagatika
  • 123
  • 1
  • 5
2
votes
2 answers

Need write permissions to install themes on Linux Mint 17 "Rebecca" Mate

Just installed Linux Mint 17 "Rebecca" Mate. I'm trying to install a new theme and am directed to http://gnome-look.org/index.php?xcontentmode=167 I've downloaded a couple and their instructions request that contents are copied to…
mickmau5
  • 21
  • 1
  • 2
1
2 3