03-21-2012
Set readonly
I'm confused using hdparm -r1 /dev/sda9
although it shows readonly set to 1 (on) - I can touch a file and edit and save it.
why?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm new at this whole Unix thing, but definately learning (lots of fun)...
and I was wondering - how do you make a file read-only with vi? I don't mean how do you load up vi in read-only mode, but how do you save a file (or flag a file, or whatever) in vi to read-only? How do you make it... (2 Replies)
Discussion started by: Flyguy
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have create a user using the following command
useradd -d /home/rozan -s /bin/bash -c "Rozan ahmed" -g dba rozan
I would like to give her only the read only access to
$BDUMP_HOME/alert.log file
The owner of the file is oracle:oinstall
Regards
Faruque (13 Replies)
Discussion started by: faruque.ahmed
13 Replies
3. UNIX for Advanced & Expert Users
Hi All,
May be this is a very simple question...
$ b=8
$ readonly b
$ echo $b
8
$ b=90
-bash: b: readonly variable
$ unset b
-bash: unset: b: cannot unset: readonly variable
I m not able to change the readonly mode of variable b
Please help me out..
Thanks
Nidhi (2 Replies)
Discussion started by: Nidhi2177
2 Replies
4. Shell Programming and Scripting
After I issused $readonly THIN. How to change back the varaibale from read only to writeable? (1 Reply)
Discussion started by: Paris Heng
1 Replies
5. Debian
I would want one of my partition to be mounted read only always... How to do that ?
1. /etc/fstab
I know that, in options we can give ro -- so when the machine boots up or 'mount -a' it will be mounted read only. But i dont want that to be mounted when machine boots up.
We will mount that... (3 Replies)
Discussion started by: thegeek
3 Replies
6. AIX
LOGNAME variable is set as READONLY in .profile.
I want to make it WRITEABLE so that I can modify the LOGNAME values programatically/throush shell programs.
Thanks,
Guru (1 Reply)
Discussion started by: gurubbc
1 Replies
7. Linux
I see this when tried to create a dir using root
fstab entries are pretty normal
tried to remount with rw but it is still the same
block device /dev/sda2 is write-protected
---------- Post updated at 04:57 PM ---------- Previous update was at 03:51 PM ----------
fstab entry ... (4 Replies)
Discussion started by: robo
4 Replies
8. Shell Programming and Scripting
Hi,
I am new to shell programming. I just wanted to know if I set a variable to readonly. How do I revert it back to normal.
name="some_name"
readonly name
Now I want to make name variable back to it normal, on which I can perform write operation too.
Thanks (3 Replies)
Discussion started by: dearvivekkumar
3 Replies