LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-01-2007, 08:20 PM   #1
spicetrader
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
XP spontaneously read-only files


I need somebody who thinks like a Unix-head (like me) to explain this to me.

Working on my Windows XP box (no Samba), sometimes I will edit a text file then save it and on attempt to save, I get err msg telling me it's a read-only file. I'm the only user. I'm not (intentionally) tinkering with the permissions anywhere. I have the impression this happens sometimes when the file is created, but permissions also seem to change spontaneously and unpredictably on existing files.

So what/how/huh resets the permissions on the files?

I would prefer for files and folders to inherit the perms of their containing folders, for the folders to allow me to write, and for files and folders to retain their assigned permissions unless I change them.

Advice welcomed (but, no, I've no intention to wipe the disk and install Linux on this particular box).
 
Old 02-02-2007, 10:49 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
right click on the file icon, select Preferences from the drop down menu. There'll be a checkbox on the "General" tab labeled read only. Uncheck that to write enable.

You can also do it from the command line using the attrib command; attrib -R myfile
 
Old 02-03-2007, 01:17 AM   #3
spicetrader
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
jiml8 --

Yes, I know how to set the permissons manually, but thank you for going over it.

Can you tell me how to assure that the permissions will stay as I have set them?

db
 
Old 02-03-2007, 09:59 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
If the permissions aren't staying, then you have a security policy that is preventing them from staying. Usually this comes about either due to a misconfiguration by you or due to the action of some malware. Possibly you could have this problem if your system was formerly part of a domain and now isn't.

You need to change the security policy. I don't know how to do this in XP Home and in XP Pro it is an involved (and not at all obvious) process. You need to fire up the group policy editor and learn to use it.

You might want to start here:
http://www.microsoft.com/technet/sec...p/default.mspx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Local partitions are being spontaneously unmounted. HypoCee Linux - Server 3 12-19-2006 03:55 PM
mozzla problems-can not read files online, can not read attachments sarajevo Linux - Software 1 09-20-2005 06:58 PM
How program to read files with extension .dat y .cfg files COMTRADE in fedora 1? ivonne Linux - Software 0 11-22-2004 11:42 AM
X spontaneously reboots AhtirTano Linux - Software 4 03-12-2004 11:13 AM
KPPP spontaneously dies AMMullan Linux - Software 4 02-26-2004 12:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration