Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-11-2004, 01:58 AM   #1
LQ Newbie
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 4

Rep: Reputation: 0
Change permissions on ntfs drive

Is there a way to change all the permissions to all of the folders and files on my ntfs drive at once? I can use the chmod command to change one file/folder at a time. I have 7000 songs I'd like to play, and doing that all by hand would suck.
Any help would greatly be appreciated.

PS I've tried changing my fstab to
/dev/hde1 /mnt/mass ntfs noauto,user,ro,umask=0222 0 0

I have to be root and must be in a terminal to view/edit/execute/anything.... I sucks.
Old 09-11-2004, 02:35 AM   #2
Registered: Apr 2004
Posts: 65

Rep: Reputation: 15
find . -exec chmod 700 {} \;

to change files only:

find . -type f -exec chmod 700 {} \;

to change dirs only:

find . -type d -exec chmod 700 {} \;
Old 09-11-2004, 09:26 AM   #3
LQ Newbie
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 4

Original Poster
Rep: Reputation: 0
Just what I needed!!!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB/ntfs drive and user permissions FC3noob Linux - Newbie 1 02-16-2005 10:37 AM
Read permissions for ntfs drive. Billy|B-A Linux - General 2 02-01-2005 10:20 PM
Can't change the read permissions on an NTFS partition as root? EOHooligan Linux - Newbie 4 01-09-2005 06:48 AM
ntfs drive permissions Mack Linux - General 4 01-13-2003 03:58 AM
Change permissions on NTFS partition to read for all users bax Linux - Newbie 6 05-13-2002 07:35 AM > Forums > Linux Forums > Linux - Newbie

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

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