LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2003, 03:24 PM   #1
jonnypop00
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
copying files from linux to windows


Hi, I've just copied a bunch of files from a linux box running redhat 6, to a windows 2000 server. The Linux box was used as a home directory for people where they could save all of there stuff, but now that I've moved it from the linux box, if I try to delete anything it says I do not have access rights. If I mount that drive on the linux box, I can log in as the root and delete them that way. My question is, is there any way to open up access rights on those files so that not only linux root user can delete them?
 
Old 09-17-2003, 04:06 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
this would allow anybody to do anything to the files in the directory while maintaining current ownership:

chmod -vR 777 YOUR_FILE_DIRECTORY

but, for example, if you want only the owner of the file and users from group "badboys" to be able to do what they wish with the files and the other groups to not be able to do anything with them...

chown -vR badboy1.badboys YOUR_FILE_DIRECTORY

chmod -vR 770 YOUR_FILE_DIRECTORY

http://www.die.net/doc/linux/man/man1/chmod.1.html
http://www.die.net/doc/linux/man/man1/chown.1.html
 
Old 09-17-2003, 04:32 PM   #3
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
One of the good reasons to have a root user on a network.
 
  


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
copying files from linux to windows Nigel Robinson Linux - Newbie 11 07-27-2005 02:41 PM
Seeing a Linux drive from Windows and copying files from the Linux drive? Alvis Linux - Software 4 03-26-2005 07:03 PM
Copying files form a windows-burnt CD to a linux designation? Timme Linux - Newbie 6 09-13-2004 04:00 PM
copying files from linux to windows partition as user aiims1777 Linux - General 15 11-15-2003 01:56 AM
copying files from windows to linux susyq78 Linux - Newbie 6 08-10-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 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