Author Topic: HELP: Forced Root-mounted media (samba shares)  (Read 388 times)

Offline Scotchman

  • Full Member
  • ***
  • Posts: 56
HELP: Forced Root-mounted media (samba shares)
« on: February 18, 2011, 07:09:16 AM »
I have twice inserted a media and had it forcibly mounted as root-only. Once was my SD card and the second was my mp3 player. Both are formatted Fat32 (which I know does not hold permissions).

Somehow media gets mounted and defaults to Root access only. This is irritating when I just plug in an mp3 player and will be problematic with my kids as I dont plan on giving them root access anytime soon.

One SHOULD be able to plug in an MP3 player or SD card as %user and have full %user access.

How do I set this default?

SECOND: I even used a terminal and navigated to /media/IAUDIO and tried "chown -R 500:500 Music/" and was greeted with a warning that changing permissions was not allowed!

Sometimes also when I 'visit' one of my shares on a win michine I suddenly see the lock symbol on a few files and they are locked with root permission only.


thanks
« Last Edit: February 18, 2011, 11:40:09 AM by Scotchman »
#unaBaSHedly Bourne Again!
========================
ASUS EeePc 900HA netbook
1.6 Ghz Atom CPU  2GB RAM
120GB Samsung 840pro SSD

Offline Scotchman

  • Full Member
  • ***
  • Posts: 56
Re: HELP: Forced Root-mounted media (samba shares)
« Reply #1 on: September 17, 2012, 06:37:11 PM »
Anyone got an idea yet?
#unaBaSHedly Bourne Again!
========================
ASUS EeePc 900HA netbook
1.6 Ghz Atom CPU  2GB RAM
120GB Samsung 840pro SSD

Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: HELP: Forced Root-mounted media (samba shares)
« Reply #2 on: September 17, 2012, 07:00:15 PM »
Anyone got an idea yet?


Not me although it makes me curious. Normally FAT32 doesn't bother with permission stuff as far I know. In fact I used to use a fat partition to get rid of these by copying worrysome files to FAT32 and then access them from any account without a hitch.
So I wonder what is up here.
Did you try to copy the files to your PC with any account, reformat the media to FAT32 and then move them back? Maybe that takes away some spookiness somewhere in the process. My best shot for now. Hope still better ideas will come by (as I am wondering just like you).

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: HELP: Forced Root-mounted media (samba shares)
« Reply #3 on: September 17, 2012, 07:01:07 PM »
they should mount with read/write access.

open the terminal and then run this command command and give its output

cat /etc/fstab

plugin your mp3 player or sd card and mount it normally and then run the following command and give its output

cat /etc/mtab
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6232
Re: HELP: Forced Root-mounted media (samba shares)
« Reply #4 on: September 17, 2012, 07:04:47 PM »
Anyone got an idea yet?

Not me although it makes me curious. Normally FAT32 doesn't bother with permission stuff as far I know. In fact I used to use a fat partition to get rid of these by copying worrysome files to FAT32 and then access them from any account without a hitch.
So I wonder what is up here.

permissions on FAT family of file systems are set at mount time and they stay put, cant be changed afterwards using chmod or chown commands.

Either his problem is that his devices have entries in fstab with wrong options or the tool used to mount them is not configured properly.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..