Linux won't write to a Windows-created folder
I copied a folder made in a Windowss partition to my Linux partition, and tried to write to one of the files (a .TXT file), but Linux won't do it, suggesting that either I have no write permission or there is insufficient disk space. What can I do to make the files writable in Linux? The folder icon haass what looks like an electrical plug on it.
|
Here's a page that explains permissions.
http://www.slackbook.org/html/filesy...rmissions.html If you're not comfortable with the command line, you can probably right click on the file and find something that will let you change permissions. |
Quote:
|
R u logged as root.
Just try to copy the entire folder from linux to linux partition and then try to write to the new one. First look at the permissions. I faced the same problem, but in my case the file was downloaded from ftp. And all the permissions were seems ok. And it worked after i copied them to new location and deleted the rest. Hope this trick will help U |
re: permissions
I figured it out...it's because Xandros isn't doing something I thought it would. I went to the folder's properties, and made sure it was read-, write-, and execute-enabled. I told it to apply the permissions to that folder and all subfolders; I *thought* it would also apply the same permissions to all files. It didn't.
What am I supposed to do, unlock every file one by one? |
Whether you're using the command line or a properties window, there should be some option that allows you to recursively apply the change to every file in the folder. It usually says something like "inherit permissions."
|
On a console do a
ls -l to view owner and permission. You probably need to use a combination of chmod and chown. man chmod man chown gives more infos. Sheng-Chieh |
All times are GMT -5. The time now is 01:51 PM. |