SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
I have mounted the partition I want to use, I can enter it as root, but I can't touch it with the other accounts...
I have tried chmod, but the disk won't change.
(i have searched for this in the forum and looked through guides but found nothing that solved this problem)
How do I access the part with my normal account?
(using slack of course)
do you want to read from it or you want to mount it as an user?
if you just want o read it chmod should do. if you want to mount it then you need to put 'user' in the options part in the '/etc/fstab' in the line which you use to mount the ntfs partition
i want to read from it as a user. i can mount it. but the thing is I can't chmod it, it just says something like "new settings, this disk is read-only", and then it's just as it was before.
so basically i just want to open files and play mp3's from the ntfs hd, but only root can enter the hd.
and since everyone says "don't use root if you don't have to" i don't want to do that.
add "user" (or replace "owner" with it) in the NTFS line in the /etc/fstab. That should work fine.
The reason you cant chmod files in it is because that physically modifies the file to change the permissions, and remember, you can't write to an NTFS partition.
could the problem be that the kernel doesn't support ntfs? I ran some command that showed what fs's the system supported and ntfs wasn't one of them, seems silly when the root can enter the ntfs disk, but perhaps...?
BTW, this is the what i wrote in fstab, anything wrong?
/dev/hdb5 /mnt/musik ntfs user 0 0
I've tried some different settings on the line, but to no avail...
when i mount secondary drives i specify my user id in the fstab for my normal users can read/write the mounted drives....
example:
/dev/hdc1 /mnt/80gig vfat user,rw,exec,uid=500
0 0
It works!
i used contrasutras suggestion (umask=0222) but i didn't reboot the comp, i just restarted X, think that was the prob.
Now i have the disk mounted and i can use it without any problems!
Thank you contrasutra, for the solution. Thank you, everyone else who posted!
Hey Anti-Gates Since I've been talking to you on your CD-ROM mounting problem thread I already know your fstab. So you just add this line to your fstab:
/dev/hda7 /mnt/windows ntfs ro,umask=0222 0 0
but ofcourse don't forget to change /dev/hda7 to the disk where your ntfs partition is actually located! And also don't forget to create a directory /mnt/windows Hope this helps!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.