Normal users accessing mounted NTFS disks? (Music related)

I havent yet fully converted to linux, so all my music and other stuff is on NTFS partitions.
My NTFS partitions are listed in fstab with the "defaults" options, only root have access to them now, however I want to play my music as a normal user.
How do I enable normal users, or preferably only one user, to access these partitions?
semi-newbie  :?

_Gandalf_ wrote:
I usualy mount with both suggestion above, actually i need full read acess to all users logged in the machine so i do
umask=022,uid=1000,gid=102
BTW u don't need to read /etc/passwd to know ur uid/gid, instead use the command
id
the id command was handy, thanks

Similar Messages

  • Mount a Drive with Normal User Access

    How do I do this? Even better, can I mount it automatically. I know this has something to do with /etc/fstab
    What should I append to /dev /sda2 /mnt/mac to make it mount automatically and allow the normal user access?
    It's where I store my music library.

    duke11235 wrote:How do I do this? Even better, can I mount it automatically. I know this has something to do with /etc/fstab
    What should I append to /dev /sda2 /mnt/mac to make it mount automatically and allow the normal user access?
    It's where I store my music library.
    Every question you asked is answered in the Wiki - please read it and then try and implement it yourself. If it doesn't work, then come back with a description of what you tried, what errors you got and any other material you have come across.
    This is help-vampirism.
    Closing.

  • Pse help! I boot my computer with apple + s and I can't return to normal user access

    I need your helpy I boot my computer with (apple + s) and now I can't return to normal user access again because on the sceen I don't see my session

    Thank you for answer but it's not possible to write anything because I get an invite to put a password (without my name) and an invite for Guest. The problem is I cant put the right password because my keyboard is azerty et in my password content the euro symbol (€) and (&). So I think there is the problem. I also think if I can return in normal boot (I mean with my own session) everythings will OK for me. Can you help me? Sorry for my english my mother language is french so I have some little difficulties to translate

  • [Solved] Non-root user cannot access mounted ntfs filesystem

    Hi -,
    i have a dualboot system (arch/xfce + win7) and i use a ntfs partition /dev/sda2 to store files i use with both operating systems. I added the partition to fstab and it gets mounted, but i cannot access it with my non-root user. With root it works fine...
    My fstab:
    # cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    LABEL=home /home ext4 defaults 0 1
    LABEL=root / ext4 defaults 0 1
    LABEL=swap swap swap defaults 0 0
    /dev/sda2 /media/sda2 ntfs defaults 0 2
    Is there any option that allows all users to use the mounted device? Or how is this usually done ...
    Last edited by muzzel (2012-05-30 20:39:58)

    See: NTFS-3G for important setup information.
    My fstab line looks like:
    /dev/sdb1 /media/Win_USB ntfs-3g uid=1000,gid=users,fmask=113,dmask=0022 0 0
    This sets up some important parameters which the NTFS-3G Wiki Page covers.  Basically, "ntfs" is only a basic driver and is built into the kernel.  "ntfs-3g" is a much better, and less disk-eating, driver that you should install and use if you need the drive in Linux any more than occasionally.  My fstab line makes my user (1000) the owner and the masks lets me write and etc to it.  When you install NTFS-3G it is automatically used when you use the mount command to mount NTFS drives.  In fstab, as above, you would specify it explicitly.
    You can find your own user number by entering "id" at a terminal.

  • Problem accessing mounted ntfs partitions

    Hi,
    I have problems accessing ntfs partitions as a non root user. The user trying to acces the partition is in usergroup wheel and has sudo acces.
    /etc/fstab looks like this:
    /dev/sda5 /media/winC ntfs defaults 0 2
    /dev/sdb1 /media/winD ntfs defaults 0 2
    It does not matter where I mount them (e.g. /home/user/media/winC), if i try cd-ing into the directory, it tells me:
    cd /medi/winC
    -bash: cd: /media/winC: Permission denied
    When i try the following, it tells me:
    sudo cd /medi/winC
    sudo: cd: command not found
    which I find a bit strange, but ok.
    Any pointers what I am doing wrong? cd-ing as root works, but i would like to acces it as a normal user too. Using the following options did not work for me:
    rw,suid,dev,exec,auto,users,async
    mount -l tells me the following when using the options stated above:
    /dev/sda5 on /media/winC type ntfs (ro,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mtf_zone_multiplier=1)
    Thanks for any pointers!

    Trilby wrote:
    You should use ntfs-3g instead of ntfs.  I'm not sure if that will solve this problem, though it might, but it will prevent others.
    As for "sudo cp" failing, that is not odd at all: `cd` is not a program, it is a shell builtin - there is no `cd` binary for sudo to execute.
    Thanks for the explanation. I will try ntfs-3g as soon as I manage to connect to the internet again.

  • Network user access to local disk to solve I/O throughput issue?

    Not sure if this is the best forum for this, but...
    THE ISSUE:
    I work at a small university and am responsible for the Mac network and video dept (only 1 xserve and about 20-odd clients). Anyway, everyone uses network accounts. I have 3 iMacs for Final Cut and so far everyone just captures to the server over gigabit ethernet. We're only using DV25 (~4MB/sec transfer) and it hasn't been an issue until this week. Now as people begin to stress more about final projects, however, and are spending more time, the suites are being used more during the same times. Even though the throughput is usually less than 10MB/sec, which (I think?) is well under what gigabit ethernet supports, we're consistently getting stalled video and dropped frames. We've often had multiple people working on projects (playback) simultaneously in the past, but never capturing simultaneously before. Also, another factor that may come into play, is my 3TB RAID 5 that they're using has become rather full at this point (down to 200MB) so perhaps read/write times are being affected?
    Now, we're looking at adding 6 more Final Cut suites, which will potentially increase my throughput load by 200%, so I really need to find a solid solution (and fibre cards are not an option since they're iMacs--and we don't have that budget anyway).
    THE QUESTION:
    Since the issue seems to only occur while capturing and not during playback, it seems the easiest solution would be to give the editor group access to the local hard drive (and then copy from there to their network storage so they can work on any given station later) which I'm not sure how the best way to do this would be. OR, should gigabit ethernet be capable of sustaining the throughput I need and there's some other problem I should be looking at to fix that?
    Related, if they do capture to the local disk (or even an external hard drive, which we may end up going to), is there some script or something that can be run every night to automatically copy files from X location on a local drive to Y location (say, a common media storage location) on the server RAID?

    Hi
    +". . . my 3TB RAID 5 that they're using has become rather full at this point (down to 200MB). . ."+
    I think the problem you're currently seeing starts (and probably ends) here. Regardless of what your data comprises of the general rule of thumb is to make sure you keep at least 10% of free disk space for any hard drive let alone a RAID. Most people would generally recommend 15% for a RAID 5. A rough calculation based on your 3TB RAID would mean you should keep at least 300GB free. You're well below that unless 200MB is a typo? I'm surprised the whole thing has not ground to a halt?
    Video Capture, Editing and Playback in a network home environment is always going to place a considerable strain on any network unless you've prepared the ground first. For example 60 seconds of RAW Video is roughly 200MB in size. Multiply this for a classroom of 16 and that's a lot of data. Even if you're not using hi-def you're still talking a lot of data.
    There are better ways of doing this.
    HTH?
    Tony

  • Accessing/Mounting AirportExtreme Disks

    The Airport Extreme includes the utilities for OS X as well as Windows and obviously advertises available disk shares via Bonjour, but has anyone found a method by which to access or mount a shared drive to other operating systems? In my case, I have Solaris, FreeBSD, and other Unix systems. It would be nice to get an NFS-like connection that could be more universally accessed.

    Looking at the sources of "OpenSolaris" I found out that opening hard disks without a valid partition table is possible specifying the O_NDELAY flag. This works on Solaris 9, too.
    However I found out that my USB hard disk has a hardware problem (does not work with Windows XP) so I cannot test if reading the hard disk works.
    Martin

  • Mounting CDROM as normal user about to pull hair out....

    Hi everyone....
    I'm about up to my wits end trying to allow my normal user to mount and unmount my cdrom drives...
    Here's my /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /proc proc defaults 0 0
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    tmpfs /tmp tmpfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    /dev/cdroms/cdrom0 /mnt/cd1 iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom1 /mnt/cd2 iso9660 ro,user,noauto,unhide 0 0
    /dev/cdroms/cdrom0 /mnt/dvd udf ro,user,noauto,unhide 0 0
    /dev/floppy/0 /mnt/fl vfat users,noauto,unhide 0 0
    /dev/discs/disc0/part2 swap swap defaults 0 0
    /dev/discs/disc0/part3 / reiserfs defaults 0 0
    /dev/discs/disc0/part1 /boot ext3 defaults 0 1
    I also added a new group called "mount" and added both root and my normal user to it.
    I then did
    chgrp mount /bin/*mount    to change mount and umount to the mount group
    then i did a
    chmod 774 /bin/*mount
    I also made sure that the 3 mount directorys in fstab existed and gave them 777 permissions...
    Did a complete reboot...  and the normal user still can't use mount... I get this error...
    mount: must be superuser to use mount
    I'm at my wits end.  I believe fstab is correct.  I believe my permissions are set correctly...  Is there anything else I need to do?
    Thanks in advance for any replies...
    James

    longhornxtreme wrote:man chmod doesn't say what s does.... so I'm kind of at a loss of understanding...
    The man page says exactly what it does...read more carefully
    the chmod manpage wrote:The letters `rwxXstugo' select the new  permissions  for  the  affected
           users:  read  (r),  write (w), execute (or access for directories) (x),
           execute only if the file is a directory or already has execute  permis-
           sion  for  some user (X), set user or group ID on execution (s), sticky
           (t), the permissions granted to the user who owns  the  file  (u),  the
           permissions  granted to other users who are members of the file's group
           (g), and the permissions granted to users that are in  neither  of  the
           two preceding categories (o).

  • Problems with ntfs disks

    I need to mount ntfs disks in oracle linux 5.8 , I follow the intructions in other thread in forum but i can't mount the disk, when I use mount command there is no error but when i try to open the directory where was mounted disk, terminal throws this:
    # mount.ntfs /dev/sdb1 /media/ADATA
    # cd /media/ADATA/
    bash: cd: /media/ADATA/: Resource temporarily unavailable
    I can unmount disk normally but i can see content of my disk .
    I want some help please thanks.

    Sorry, but I think troubleshooting the problem based on the error message is pointless. It's not an error message generated by the NTFS driver or points to a specific or well-known problem. There can be numerous reasons. If you need help to troubleshoot this problem, please provide information how to reproduce it.

  • Automount using udev, but normal user can't access

    i'm using udev rules to automount usb drive. one of my external drive using usb to connect my pc.the file system of that external hdd is ntfs. when i plugin, automount in /media, but i can't using normal user to go in. need superuser.how to i slove this question?

    miau wrote:You could also try to install ntfs-3g, maybe its a problem related to NTFS.
    i already install ntfs-3g, i use "mount -t ntfs-3g /dev/sdb1 /media/usbhd" with no problem read and write.
    how do i add to udev rules?

  • "mount: only root can mount" or "Unprivileged user can not mount NTFS"

    I'm trying to set up an NTFS partition to use as a common data partition between Arch and Windows. I have it added to fstab so that any user in the ntfsuser group can have access to it, but if it gets unmounted accidentally from the "eject" symbol in the nautilus gui, you have to sudo to mount it back up. Is there a way for it to be remounted automatically when you click on the partition again in Nautilus? I've searched all through the forums and looked through several articles on the wiki but haven't been able to come up with anything. The error I get says
    mount: only root can mount /dev/sda4 on /home/adam/UserData
    I've tried adding the users option to fstab, but that only manages to change the error to
    Unprivileged user can not mount NTFS block devices using the external FUSE
    library. Either mount the volume as root, or rebuild NTFS-3G with integrated
    FUSE support and make it setuid root. Please see more information at
    http://ntfs-3g.org/support.html#unprivileged
    I've tried the suggestions at the link in the error, as well as tried the solutions given in [solved] Gnome : mounting NTFS partition as user and a few other posts, but still nothing. If possible, I'd prefer to stay away from the users option in fstab, since it adds a redundant link to the sidebar in nautilus with a different name.

    @Mr.Elendig: It is mounted through fstab normally, but in nautilus there's an eject icon on the sidebar next to the name of the drive which I've accidentally clicked on a couple times if I'm just trying to open the drive real quick. Once its been unmounted like that it won't let me remount unless I use sudo. I'm just looking for something to make it a little more convenient than having to pop open a cli and type in a password.
    I'll try the suid root when I get home tonight, otherwise I'll look into autofs.

  • [Solved] Giving A Normal User R/W Access To A SSD

    I have virtualbox setup so that it has direct (raw) access to my SSD (which is formatted with NTFS if it that matters) but the only way I can currently get it to work is by running virtualbox with root permissions. How can I make it work with my normal user?
    Last edited by brando56894 (2011-07-26 16:15:06)

    So the problem is that your user have no rights on the /dev/sdXY device on your hostsystem? Let's assume that your SSD is /dev/sdc.
    If you look at: ls -l /dev/sdc you will see that only user root and members of group disk have access(rw) on this device.
    One could think: ok, i put my normal user in group disk, problem solved. That's right, but it opens unneccassary security risks. It's bad to give a user more rights than needed exactly for one job. In group disk the user has direct access to all blockdevices on the host.
    So one possible solution: Devices in /dev are setup by udev via rules. So write a rule that change ownership on exactly the SSD device (sdc). Maybe with owner root:privdev, and put your user in the (new) privdev group.
    The IMHO better, simpler solution is IMHO: Use ACL's. (from package acl)
    With above example /dev/sdc:
    getfacl /dev/sdc
    getfacl: Removing leading '/' from absolute path names
    # file: dev/sdc
    # owner: root
    # group: disk
    user::rw-
    group::rw-
    other::---
    Now add a acl for your user (username brando for ex.)
    setfacl -m u:brando:rw /dev/sdc
    Control with getfacl and you will see that brando have now rw access directly on the device.
    You could put this permanently in /etc/rc.local
    Instead of /dev/sdxy in device naming it's better to work with ID's or UUID's. Adressing could be then:
    /dev/disk/by-id/???
    /dev/disk/by-uuid/???
    Identify your SSD device by looking in these directories. Not using the "old" /dev/sdxy naming prevents from wrong access when the SSD may changes the order of blockdevices.
    Last edited by GerBra (2011-07-26 08:27:53)

  • Mounting Windows Disk within Single User Mode

    A Windows machine I administer kacked and the users didn't back up all their data. Windows won't touch the drive, so I popped it in a 10.3.9 Mac... I can copy a handful of files and folders from the Finder, but some directories won't read -- there may be physical damage to the drive (if the kernel panics are any indication).
    When I boot into Single User Mode, I can't get into the disk.... the disk(s) show up under /Volumes, but you can't actually get into them... only a file named .autodiskmounted shows up for each Windows partition. I'm guessing this is a product of the disk being formatted as a NTFS drive (I'm thinking that's probably what Windows XP Home used on this drive).
    Can you mount a NTFS or FAT32 disk from Single User Mode? How?
    Many thanks!

    Everett
    To mount a disk in 10.3.9, look at the first part of this FAQ: Resetting the System Immutable Flag in 10.3.
    You will need to replace the "mount -t hfs" with "mount -t msdos", but I don't know if you would need further options.
    If you can find a 10.4 system, it may be easier, since "autodiskmount" appears to work again. See: kmosx4: Resetting the System Immutable Flag in OS X 10.4

  • Can not access usb hd as normal user

    Hi,
    I am trying to give read and write permissions to a normal user on my usb hd. This is in my fstab:
    #/dev/sdc1 /media/usb auto rw,user,exec,dev,suid,user 0 0
    /dev/sdc1 /media/usb auto defaults,user 0 0
    (I tried the commented as well as the not commented line).
    I can mount /media/usb as a normal user succesfully, but then:
    > ls /media/usb/
    ls: cannot open directory /media/usb/: Permission denied
    The permisions of /media/usb are:
    drwxr-xr-x 2 ls users 4096 2008-11-28 21:41 usb
    (ls is my username).
    I can access as root.
    What could be wrong?
    Thanks!
    Nathan
    Last edited by LonelyStar (2009-02-10 22:03:55)

    What is the filesystem used in your partition ?
    Can you post the output of 'cat /proc/mounts' .

  • Can't access/mount hard drive, Permission denied message in Disk Utility.

    Hello,
    Need some help here. I was upgrading from 10.4 to 10.5. I got an error message when I tried to upgrade from the DVD. My hard drive had an exclamation mark by it and I was told I would need to erase it in order to install. When I tried quitting the installer, I had to go through startup disk to pick my Hard drive, which showed it had 10.4 installed. When I tried restarting, it would only boot off of the DVD. I checked startup disk again, but my hard drive was now not visible. I have a tower with a back-up system on it. When I picked it, it started up fine. I went under disk utility and the hard drive is listed, but is ghosted/grayed out. Repair & Verify Disk permissions are ghosted back as well.When I try to repair or verify disk, it says it can't it gives me the disk number and sector number and Permission Denied. I poked around on disk utility for info, and it looks like it doesn't have a mount point anymore and under permissions, it says that they are not enabled. So, apparently the access privileges have been erased & I don't know how to mount my disk again. I'm assuming I need some sort of commmand line in Terminal to restore my priveleges or get it to auto-mount. I do not want to erase my drive to upgrade. All my applications are on that drive. Please help!
    Message was edited by: koobiak

    See if Niel's User Tip can help you: I accidentally set a disk's permissions to No Access .

Maybe you are looking for

  • Audio Tracks Out of Sync?!

    I opened up one of my projects today and started playback and everything was all over the place, out of sync. the project consists of acoustic guitar, electric guitar and two vocal audio tracks plus a b4 organ track and an ultrabeat drum track. i shu

  • Moving from OBIEE 10.1.3.4 to OBIEE 11.1.1.3.0

    everything is installed and working.. but when I do the upgrade assistant on the repository and catalog is says failed.. this is the log: [2011-02-03T13:33:40.308-06:00] [Framework] [NOTIFICATION] [upgrade.Framework] Log level is: NOTIFICATION:16 [20

  • [svn:fx-trunk] 16385: -removed the utilities package target since it' s not used any longer - at least what is contained in this target.

    Revision: 16385 Revision: 16385 Author:   [email protected] Date:     2010-06-01 13:32:35 -0700 (Tue, 01 Jun 2010) Log Message: -removed the utilities package target since it's not used any longer - at least what is contained in this target.  I belie

  • Editing Blind Folded to Color - Gradable Monitors

    I have been using a very subpar external monitor for CC, and grading. I purchased 2 - 28" LG LED monitor but it is definately too bright. Blacks are less black so when i CC video it show up as very dark or darker than expected on other viewing screen

  • Formula Help - Multiple criteria

    I'm fairly new to Numbers and am struggling to work out the formula to manage multiple sumif functions. I want to be able to calculate the total of column 'C' where A & B are identical. For example sum of column C where  A=James, B=Vehicle. Sorry if