Questions tagged [read-only]

93 questions
27
votes
5 answers

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
  • 373
  • 1
  • 3
  • 5
18
votes
7 answers

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 I can't figure out how to re-re-mount the…
cagenut
  • 4,808
  • 2
  • 23
  • 27
15
votes
3 answers

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 created a user like so: grant select, lock tables on *.*…
stickmangumby
  • 526
  • 2
  • 5
  • 11
13
votes
6 answers

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 by something else than dying hard drive. This is…
user606521
  • 241
  • 1
  • 2
  • 8
11
votes
2 answers

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 user on Ubuntu, too? Thanks, Udi
Adam Matan
  • 12,504
  • 19
  • 54
  • 73
11
votes
4 answers

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 461490504 179502128 258545928 41%…
Marc Riera
  • 1,587
  • 4
  • 21
  • 38
10
votes
4 answers

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 - any other way to achieve it? I was thinking…
user13185
8
votes
4 answers

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 meet the requirements of the financial services…
phil_ayres
  • 181
  • 1
  • 3
  • 11
8
votes
3 answers

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 the user to have to do. This all pretty much…
Timothy Miller
  • 291
  • 1
  • 2
  • 11
8
votes
1 answer

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 whether I can successfully install certain roles…
6
votes
1 answer

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 vboxsf (gid=501,rw) Looks like it's read/write. Now if…
BenMorel
  • 4,215
  • 10
  • 53
  • 81
5
votes
5 answers

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, Active Directory is required for end-user…
gravyface
  • 13,947
  • 16
  • 65
  • 100
5
votes
4 answers

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. Everything is read/write enabled at the moment. We're…
fwg
  • 241
  • 1
  • 3
  • 5
4
votes
2 answers

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'(StorageDevicePolicies\WriteProtect) portable storage…
billyswong
  • 143
  • 1
  • 4
4
votes
1 answer

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 to log in and have write access too. So far I…
cdecker
  • 431
  • 2
  • 5
  • 17
1
2 3 4 5 6 7