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.
Is there a skill I'm missing here?
sudo mount /dev/sda1 /mnt/windows
cd /mnt windows
-bash: cd: /mnt/windows: Permission denied
And it's like that for everything: samba shares, fstab mounts, regular mounts, am I supposed to uncomment something in some file somewhere?
Make sure you have read permissions on the folders which you are trying to read. I found that I had this problem with a folder which I was mounting too. The sudo will give you temporary root permissions for that command only, so when you run the cd command, the root permissions will be lost. Try running sudo cd /mnt/windows too. If this doesn't work, you will have to use chmod to change the read and write permissions on the folder you are mounting to.
If the disk is permanently in place, it may be easier to mount the disk with an entry in your fstab, for example:
Then you would only need to type "mount /mnt/windows".
The user flag will allow a normal user to mount the disk, and the noauto will stop the disk being mounted at boot time, which may be useful if you dont use the disk all the time, as it reduces the risk of you accidentally deleting something. If it gives errors about the filesystem type, change ntfs to auto, it has no problems detecting my ntfs disk.
Another approach, is to use a little program called pmount which let's you mount anything as user. However, it's not included in default Slackware distribution but you can get it here: http://slackbuilds.org/repository/12.0/system/pmount/
If it's not a removable device, you've to specify it in /etc/pmount.allow
also, you could be running into problems in that you're mounting an ntfs filesystem. This shouldn't affect reading, but if you find that you can't write anything to that FS then look up linux-ntfs at linux-ntfs.sourceforge.net/ . That will let you write files to that filesystem since I don't think that the kernel can handle that (at least on the older 2.6 versions).
I agree with brianL about fuse and ntfs-3g -- they are currently more feature-complete and more reliable than ntfsprogs etc., as far as I can tell (though I may be wrong). Ubuntu uses it as default to read NTFS drives, and I've never had a problem (or any corruption) using the current versions in Ubuntu or Slackware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.