AngloCuencano wrote: 
> I prefer to do this through fstab, but setting the permissions should be
> similar if you are using the automount, I think.
> 
> First, you need to find where the disk is mounted: sudo cat /proc/mounts
> 
> For me, this looks like: /dev/sda1 /mnt/hd1 ext4 rw,noatime 0 0
> 
> Then change permissions: sudo chmod -R 777 /mnt/
> 
> I created the /mnt/ directory, so automount probably uses a different
> mount point and you will need to change /mnt/ to whatever you see with
> the cat command.
> 
> If you're not comfortable using 777 for the permissions, you'll have to
> decide for yourself the permissions you prefer.



Thanks for this info


Code:
--------------------
     sudo cat /proc/mounts
--------------------


gave me 

> /dev/sda1 /media/pi/9A8E6EB98E6E8E17 fuseblk
> rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
> 0 0
> 
> 

I did 


Code:
--------------------
    sudo chmod -R 775 /dev/sda1 /media/pi/9A8E6EB98E6E8E17
--------------------


I'm not sure if I needed pi/9A8E6EB98E6E8E17 but i can play with that
later.

This is my fstab


Code:
--------------------
    proc            /proc           proc    defaults          0       0
  PARTUUID=ea7d04d6-01  /boot           vfat    defaults          0       2
  PARTUUID=ea7d04d6-02  /               ext4    defaults,noatime  0       1
  /dev/sda1       /media          ntfs    defaults                0       0
  # a swapfile is not a swap partition, no line here
  #   use  dphys-swapfile swap[on|off]  for that
--------------------



Code:
--------------------
    sudo cat /proc/mounts
--------------------


now gives 

> /dev/sda1 /media fuseblk
> rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0

And I'm thinking I could maybe mount the usb disk just using the
PARTUUID, I'll give that a try at another time.

Cheers

ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=111940

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to