Results 1 to 7 of 7
Recently copied some files from an ntfs drive (read only) to me linux partition. Problem is it's set them all with read only permissions
Since I have about 500 files ...
- 08-28-2003 #1Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
batch processing of permissions?
Recently copied some files from an ntfs drive (read only) to me linux partition. Problem is it's set them all with read only permissions
Since I have about 500 files wassa best way of setting them to write access? They also belong to root, but not to bothered about that.
RH9
Ta
- 08-28-2003 #2
You cant and you shouldnt use ntfs write in GNU/Linux. It will fsck up the filesystem. But you can read from it, and if you bother, you can converrt it to fat32 and write to it. That happens when MS won't tell the spec's of their products
- 08-28-2003 #3Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
are they all in the same directory?
if so, cd to the dir.
then "chmod 777 *"
that will give everyone full permissions to mess with the file.
better thing to do is:
"chown user:group * " - this will change ownership of all the files to the user:group specified.
then..
"chown 600 * " - to make all the files read/writeable buy the owning user.(set above).
Jason
- 08-29-2003 #4Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Nah, don't want to write to ntfs, it's just where my archived files happen to be.
Originally Posted by Kriss
- 08-29-2003 #5Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Ta Jason, appreciated
- 08-29-2003 #6
And if you have a recursive directory system, throw in the -R switch (chmod -R, chown -R ), and that will fix all the subdirectories.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 08-29-2003 #7Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Nice, ta.
Originally Posted by sarumont


Reply With Quote