So I was working on a php script on my OS X powerbook (Lombard,
10.1.5), editing in vi, and I went to save, and vi tells me:
Read-only file, not written; use ! to override.
which I do, but I'm highly curious as to why this file is suddenly
read only. So in the shell, I do:
[localhost:LogoWorks/LW/HTMail] weston% ls -l
total 32
-rw-r--r-- 1 weston staff 475 Jul 8 15:49 1.css
-rw-r--r-- 1 weston staff 1572 Jul 8 15:54 1.php
-rw-r--r-- 1 weston staff 3277 Jul 8 15:54 2.php
drwxr-xr-x 3 weston staff 58 Jul 7 15:14 Templates
drwxr-xr-x 5 weston staff 126 Jul 7 15:14 meta
-rwxr-xr-x 1 weston staff 2649 Jul 8 02:27 misc.php
The file "1.php" was the file I was editing. Note that the user weston
(which is me) has ownership and write permissions.
I get the same message from vi with "2.php" but NOT "1.css", curiously >enough.
Any ideas?
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 790 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:53:27 |
Calls: | 12,115 |
Calls today: | 5 |
Files: | 5,294 |
D/L today: |
72 files (9,959K bytes) |
Messages: | 564,933 |