Questions tagged [read-only]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
29 votes
5 answers
121k views

Why is an nfs server mounted as rw returning read only filesystem errors

I am working on a Ubuntu Server 64bit. I have mounted an nfs as rw, but whenever I try to edit anything on the mountpoint in question, I get a read-only filesystem error my etc/fstab reads: # <...
stupac8908's user avatar
18 votes
7 answers
78k views

How do you re-mount an ext3 fs readwrite after it gets mounted readonly from a disk error?

Its a relatively common problem when something goes wrong in a SAN for ext3 to detect the disk write errors and remount the filesystem read-only. Thats all well and good, only when the SAN is fixed ...
cagenut's user avatar
  • 4,858
16 votes
3 answers
15k views

How do I create a read only MySQL user for backup purposes with mysqldump?

I'm using the automysqlbackup script to dump my mysql databases, but I want to have a read-only user to do this with so that I'm not storing my root database password in a plaintext file. I've ...
stickmangumby's user avatar
14 votes
4 answers
17k views

Read only bind-mount?

I use mount -o bind to mount directories inside chroots, which works really well. The problem is that I'd like some of these bind-mounted directories to be read only in chroot. Is it possible? If not ...
user avatar
14 votes
6 answers
84k views

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused ...
user606521's user avatar
13 votes
4 answers
134k views

mount: cannot remount block device /dev/sda5 read-write, is write-protected

Everything is working as usual except the disk is read-only and don't want to change back. thanks. root@NODE02:/tmp# df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda5 ...
Marc Riera's user avatar
  • 1,687
11 votes
2 answers
23k views

Crate a new, read-only user in postgres

I would like to create a new user in an existing postgresql database on an Ubuntu machine. I want to grant this user a read-only access to all the tables. How do I do it? Do I need to create a new ...
Adam Matan's user avatar
  • 13.6k
10 votes
4 answers
14k views

Write once, read many (WORM) using Linux file system

I have a requirement to write files to a Linux file system that can not be subsequently overwritten, appended to, updated in any way, or deleted. Not by a sudo-er, root, or anybody. I am attempting to ...
phil_ayres's user avatar
8 votes
3 answers
37k views

Linux: Force fsck of a read-only mounted filesystem?

I'm developing for a headless embedded appliance, running CentOS 6.2. The user can connect a keyboard, but not a monitor, and a serial console would require opening the case, something we don't want ...
Timothy Miller's user avatar
8 votes
1 answer
160 views

Does the Read-Only configuration of a DC apply only to Active Directory?

Firstly, I'm not sure how friendly the users of this site are to students but my question seems to be well suited. I am configuring a domain with multiple Windows Server 2008 machines and am curious ...
user avatar
6 votes
1 answer
8k views

VirtualBox: vboxsf filesystem wrongly detected as readonly?

I have VirtualBox (Windows XP host) running a CentOS 6.0 virtual machine, with one shared folder. Here is the list of mounted devices: [root@localhost ~]# mount -l ... www on /media/sf_www type ...
BenMorel's user avatar
  • 4,607
6 votes
1 answer
957 views

why read is faster when using O_DIRECT flag?

I copied a 10GB of file in my SSD which has read bandwidth of around 3.3GB/s, benchmarked using fio command. Here is the ref: https://cloud.google.com/compute/docs/disks/benchmarking-pd-performance I ...
Abdul Wadood's user avatar
5 votes
5 answers
3k views

Read Only Domain Controller for standalone/off-site testing location

In a bit of a pinch: a client needs to test an Active Directory enabled CRM system that consists of a SQL 2008 Server and a Windows 2008 Standard Server (the application server). As far as I know, ...
gravyface's user avatar
  • 14k
5 votes
3 answers
14k views

SVN: How to setup a read-only branch in Subversion?

As lead web developer for my employer's organization, I'm responsible for configuring and maintaining an SVN repository for each of our web applications. Each has several archived versions and at ...
Brian Lacy's user avatar
  • 1,123
5 votes
4 answers
5k views

Running Linux on a read only disk - possible?

I'm wondering if it is possible to run a Linux server from a read only disk, specifically CentOS 5.4. Our system has a number of Linux machines each with their own disk with it's OS installed. ...
fwg's user avatar
  • 241
4 votes
2 answers
20k views

Filesystem is read-write but acts like read-only... remounting fixed it?

CentOS 5.5 I just came across an instance where my /storage directory was supposedly a read-only file system. I get the error: mkdir: cannot create directory `test': Read-only file system df: ...
Jake Wilson's user avatar
  • 8,944
4 votes
2 answers
5k views

Harddrive issue "read-only"

I'm having an issue where when i mount my partition a few hours later it becomes read-only. Currently i run: fuser -m -k /dev/sdb1 umount /dev/sdb1 fsck -y /dev/sdb1 mount /dev/sdb1 That allows me ...
Chad Scira's user avatar
4 votes
2 answers
5k views

Disable writing to "portable media player"

I need to disable windows machine in the domain from copying files to one's own portable devices. I found a setting that will tell the registry which will tell the computer to 'writeprotect'(...
billyswong's user avatar
4 votes
1 answer
3k views

Samba share with guest access and authenticated users for write access

I'm trying to get a shared folder to work. Everyone should have read access (preferably not even a password prompt should pop up when connecting with Windows), but a few selected users should be able ...
cdecker's user avatar
  • 411
3 votes
5 answers
75k views

How to mount a filesystem in a read-only environment?

I have the problem that my machine turned the root filesystem into readonly mode and remounting it as writeable won't work: # mount -o remount,rw /dev/sda1 / mount: block device /dev/sda1 is write-...
Gregor Müllegger's user avatar
3 votes
1 answer
1k views

Why can I change the the reserved blocks on a read only mounted ext4 filesystem?

I would have expected an error, sorry FS is read-only, but it is possible. This is unexpected & counter intuitive is there a reason? Linux files 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 ...
lithium7's user avatar
3 votes
2 answers
5k views

Server Frequently gets Read-Only File System

This server has RAID-1 configured. It get readonly file system everyday. if i reboot it, it gets back with a read-write file system. but after a short while, readonly again... Any idea please? Thanks....
Jasper's user avatar
  • 63
3 votes
2 answers
2k views

Can ESXi (4.1) mount a VMFS datastore alongside a read-only snapshot of it?

I have a ESXi (4.1) server talking with a Windows Server 2008 R2 storage server, which presents some volumes as iSCSI targets using Microsoft's iSCSI software target; ESXi uses them as its datastores. ...
Massimo's user avatar
  • 71.3k
3 votes
1 answer
802 views

Gluster Read-Only file system

I'm stuck with this problem and I can't solve it, we have a website so people can upload their videos on it in some path (Temp directory for example) then our admins go and move these video to another ...
GKaveH's user avatar
  • 31
2 votes
1 answer
73 views

Term for system that is "Create, Read" enabled, but "update, delete" disabled?

Researching legal and regulatory compliance for creating systems are tamper resistant, and wondering if there is a term for a system that is "Create, Read" enabled, but "update, delete" disabled.
blunders's user avatar
  • 833
2 votes
1 answer
6k views

MSSQL db_datareader to All databases

I have 100 databases in MSSQL 2008 Server. I need to create a read only user to read all these databases. Is there a server wide role: db_datareader I can assigned the user to, so that I don't need to ...
starchx's user avatar
  • 533
2 votes
2 answers
1k views

Is it safe to make the wwwroot folder writeable?

I am trying to use IIS7 web server. I found out that I cannot edit (or create) files in this directory. The reason for that is that this directory has read-only permissions. I could change this ...
Roman's user avatar
  • 2,619
2 votes
1 answer
988 views

Create read-only user on Collabnet Edge SVN

How can I create a read-only user (for access from another websvn server) on a Collabnet Edge SVN server? I do have a level of administrative rights through the web interface as well as direct server ...
altendky's user avatar
  • 143
2 votes
1 answer
322 views

Filesize monitoring powershell script safe to run against a multiuser Access 2003 database?

I'm try to monitor the size of an MS Access Database file which corrupts when the size reaches 2GB. I found the following powershell script which monitors the size of a file, and then runs a ...
leeand00's user avatar
  • 4,919
2 votes
3 answers
6k views

Read-only file system VPS SSH error

I have a VPS and today I noticed apache was not running, I got in SSH, the httpd status says: [root@adrimail ~]# service httpd status httpd dead but pid file exists Tried to restart it and I get ...
adrianTNT's user avatar
  • 1,149
2 votes
1 answer
7k views

Delegate "Read" Ability to GPO's

Is there a way to allow a non-administrator to "read" (as in browse and look at the settings) of domain gpo's? I see in GPMC there is an option to allow delegation of "Read Group Policy Results ...
Mitch's user avatar
  • 1,147
2 votes
1 answer
614 views

MySQL "Table 'X' is read only"

I'm currently trying to migrate a bunch of databases from one server to another (both servers are running the exact same versions of mysql). Every night I do a backup using mysqlhotcopy. I've copied ...
user avatar
2 votes
1 answer
7k views

Bitlocker Drive cannot save files on this drive [closed]

I have a freshly installed Windows 2008 R2 Server with a C drive containing the operating system and d drive as a normal data drive. Ive turned on encryption on the d drive using Bitlocker. The ...
Peter Jamsmenson's user avatar
2 votes
3 answers
3k views

Running mysqldump on a debian system that has gone into read-only mode

An old Debian system of mine has recently had the primary hard drive go into read-only mode due to some disk problem. I have a MySQL database on the server that I would like to backup before trying ...
Nada_Surf's user avatar
  • 193
2 votes
1 answer
5k views

prevent filesystem from entering read-only mode

I have found that my server's filesystem is continuously entering read-only mode. There have been some issues with the raid1 array, but I have removed the bad disk from the array. However, it is ...
user788171's user avatar
2 votes
2 answers
1k views

Deny Stored Procedure Data Modification by User Security

I want an easy way to make a read-only user on my database. The user should have permission to execute stored procedures only if they don't modify data. I don't want to figure out which stored ...
Mindy's user avatar
  • 117
2 votes
0 answers
4k views

NFS read/write mountpoint returns read-only file system error when written

I have two nodes running CentOS Linux release 7.3.1611 (Core), one for computing (mu01), the other for storage (io01). As root, I mounted a directory /data on io01 to /data on mu01 by mount -t nfs -o ...
wdg's user avatar
  • 153
2 votes
2 answers
2k views

Hyper-V Ubuntu 10.04, Filesystem suddenly becomes Read-Only?

We are running a Ubuntu 10.04 VM on a Hyper-V system, The VM is dedicated to running one of our web applications. We have enabled the Hyper-V drivers in /etc/initramfs-tools/modules like so: ...
Daniel Upton's user avatar
2 votes
0 answers
1k views

LTO3 tape read only on a LTO3 tape driver (write lock unlocked)

I've installed on win2003 a tape drive (IBM 25R0012) with the latest drivers available The tape is functioning correctly (according to the "Device Manager"), however when I insert a new tape (i use ...
pinocchio's user avatar
1 vote
5 answers
226 views

Image Management System with Different Levels of Access

I work in the graphics department for a real estate brokerage, and we deal with a lot of photos. Agents take the photos, upload them to me, I touch up and standardize the photos, then I add them to ...
user avatar
1 vote
3 answers
995 views

Compact Flash mounted Read Only

I have a board, running linux (RedHat, kernel: 2.4.32). The board has been up and running since long time. However suddenly, some errors are being observed in the logs, and the Compact Flash (present ...
PrayingMantis's user avatar
1 vote
1 answer
6k views

file system is going into read only mode frequently

My server file system is going into read only mode frequently. If I reboot my system, It is performing a fsck operation on disks. But, It is exited with exit status 4 ( File system errors left ...
sat's user avatar
  • 1,323
1 vote
2 answers
5k views

USB Drive becomes read-only after a while

Our backup "solution" includes hooking up a USB drive to the backup server, and running a custom script that rsyncs the data on to the USB drive. However, after a while, the drive becomes read-only. ...
Glen Solsberry's user avatar
1 vote
3 answers
3k views

innodb-read-only prevent mysql replication? Table 'gtid_slave_pos' is read only

I set up a couple of maraidb v10.2.10 containers with the official docker image. Master can read/write and slave is read-only with this my.cnf. [mysqld] server_id=2 read_only=1 innodb_read_only=1 ...
kujiy's user avatar
  • 486
1 vote
1 answer
2k views

Portable Webserver (PHP, MySQL) on CD-ROM

For a school project, I programmed something based on PHP using a MySQL database. for evaluation, it is necessary to hand the program together with the documentation three times to the teacher -- but ...
Lukas Juhrich's user avatar
1 vote
1 answer
9k views

Ubuntu server mounted in read-only? [closed]

This morning my Ubuntu server suddenly appeared in read-only mode. Google says this can happen after updates. I restarted the server and it booted with fsck errors: Inodes that were parts of a ...
Martin's user avatar
  • 220
1 vote
2 answers
2k views

Debian crashed, file system is read-only and cannot backup - How Do I find/mount a USB drive?

We have a Debian server (vm's) here at work and the server crashed after a power failure. I can only boot the system in maintenance mode, and the whole file system is set to read only. I can run fsck ...
Spiros's user avatar
  • 251
1 vote
1 answer
3k views

Debian server showing "read only file system" repeatedly

I am having issues with being unable to SSH into my server, running Debian 11. If I try to make a folder or file, I get an error that says mkdir: cannot create directory ‘/tmp/test’: Read-only file ...
Josh Loecker's user avatar
1 vote
2 answers
7k views

Permission to read a specific file with sudo

For reasons, I need to read /root/.ssh/authorized_keys with a user who hasn't the right to read it. Obviously, I can't change the rights (nor the ACL) of the file, because ssh wouldn't like it. I ...
Shan-x's user avatar
  • 168
1 vote
1 answer
3k views

Windows Hyper-V Debian going into Read Only mode

I am running Debian 7.8 (wheezy) which is installed on a Windows Hyper-V server (not managed by me). However, the server frequently goes into 'read only' mode and I am not sure why. I have looked in ...
Dudedolf's user avatar