why i dont have the Permissions to use my hardisk?
Linux - NewbieThis 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!
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.
why i dont have the Permissions to use my hardisk?
Hi , the thing is that i have a 400gb hd , its partitioned in two:
100 = OS
300= my stuff
i made the partitions on windows, and now when i have to use a file from the partitioned where my stuff is i have to become the root and mount it, ok, no problem, but the thing is for example , when i want to burn a CD/DVD or listen music, i cant coz only the superuser can, so to listen to music i have to become the root and use mplayer.
the question is: how can i change the hda5 permissions so the normal user can access it anytime(no needing the root to do it).
Try adding "users" or "users" to your mount options in /etc/fstab. That should allow "normal" users to mount the disk and access it in the same way root would. Here are the relevant entries from the mount man page:
user Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).
users Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).
criacuervo@juanchy:~$ cd /mnt/hda5/
bash: cd: /mnt/hda5/: Permission denied
that happened when i did chown -R /mnt/hda5
when i typed that there was a lot of movement in the shell, but each time the command tried to change ownerchip it says:
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/tipos de clientes': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/1-servicio al cliente.avi': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/1-ventas.avi': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/2-servicio al cliente.avi': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/2-ventas.avi': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/3-servicio al cliente.avi': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/3-ventas.avi': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas/Thumbs.db': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas/ventas.txt': Read-only file system
chown: changing ownership of `/mnt/hda5/videos youtube/videos de ventas': Read-only file system
Hi , the thing is that i have a 400gb hd , its partitioned in two:
100 = OS
300= my stuff
i made the partitions on windows, and now when i have to use a file from the partitioned where my stuff is i have to become the root and mount it, ok, no problem, but the thing is for example , when i want to burn a CD/DVD or listen music, i cant coz only the superuser can, so to listen to music i have to become the root and use mplayer.
the question is: how can i change the hda5 permissions so the normal user can access it anytime(no needing the root to do it).
-i have debian lenny 0.5
-fluxbox
Hello, Do one thing.It might help.
Make a directory /home/shared.This directory can be accessed to all users.And automount ur /dev/hda5 to /home/shared by /etc/fstab.
Check this and post the results.
The partition uses the NTFS filesystem. You can add an entry in /etc/fstab so that the system mounts it when you boot up.
Use the "uid", "gid", "fmask" and "dmask" options to set the ownership and permissions of files and directories when the
filesystems are mounted.
Here is an example:
/dev/sda2 /mnt/vista ntfs rw,user,fmask=117,dmask=007,uid=jschiwal,gid=jschiwal 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.