LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux won't write to a Windows-created folder (https://www.linuxquestions.org/questions/linux-newbie-8/linux-wont-write-to-a-windows-created-folder-346409/)

joshknape 07-24-2005 11:07 PM

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.

jrdioko 07-24-2005 11:23 PM

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.

sekelsenmat 07-25-2005 12:11 AM

Quote:

Originally posted by jrdioko
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.
It will probably be called "Properties".

dhirsolo 07-25-2005 03:55 AM

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

joshknape 07-25-2005 02:49 PM

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?

jrdioko 07-25-2005 08:45 PM

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."

shengchieh 07-25-2005 10:05 PM

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.