LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2006, 03:34 PM   #1
stevenh
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Rep: Reputation: 0
Changing permissions


Hi,

i have a USB disk formatted with NTFS (sorry ). The problem is that i can only acces it as root. Also, changing permissions fails. How can i fix this?

Steven
 
Old 03-17-2006, 03:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
can you define "access" here? if you mean you can only mount it as root, then i'd assume that'd mean you've no entry in /etc/fstab to allow non-root users to mount it. if you just mean you want other users to be able to read the data, try mounting it whilst specifiying an alternative uid and/or gid, e.g. "mount -t ntfs /dev/sda1 /mnt/usb -o uid=500,gid=500" or settings a looser umask, e.g. "mount -t ntfs /dev/sda1 /mnt/usb -o umask=222"
 
Old 03-17-2006, 04:22 PM   #3
stevenh
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Original Poster
Rep: Reputation: 0
it is already mounted. it mounts at every boot. can i change this settings in some config file?
 
Old 03-17-2006, 09:18 PM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by stevenh
it is already mounted. it mounts at every boot. can i change this settings in some config file?
in your /etc/fstab; the 4th field specifies the mount options
 
Old 03-18-2006, 04:17 AM   #5
stevenh
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks, that worked!
 
  


Reply


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
changing permissions sy-co Mandriva 5 04-16-2004 10:13 AM
Changing permissions in 9.2 Jerrac Mandriva 17 12-08-2003 07:36 AM
Changing Permissions synecdoche Linux - General 1 08-21-2003 10:41 AM
changing permissions... ashesh Linux - General 3 08-15-2003 11:32 PM
Changing Permissions linuxfond Linux - Newbie 11 07-01-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 AM.

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