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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-17-2006, 03:34 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 14
Rep:
|
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
|
|
|
03-17-2006, 03:56 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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"
|
|
|
03-17-2006, 04:22 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 14
Original Poster
Rep:
|
it is already mounted. it mounts at every boot. can i change this settings in some config file?
|
|
|
03-17-2006, 09:18 PM
|
#4
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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
|
|
|
03-18-2006, 04:17 AM
|
#5
|
LQ Newbie
Registered: Apr 2004
Posts: 14
Original Poster
Rep:
|
Thanks, that worked!
|
|
|
All times are GMT -5. The time now is 06:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|