PDA

Bekijk de volledige versie : Can't change USB-HDD folder permissions



jjpujante
26-07-2007, 15:04
Hello,

i'm been looking for a solution for my trouble and searching in the forum, but i don't know the reason why i can't change permissions of a folder that i have in the usb hdd.

the usb hdd is FAT32 fs. I

i mount the usb hdd with a macsat script when the router boots.


#!/bin/sh
#
# macsat.com mount script
#
START=11
# Which device needs to be mounted?
MOUNT_DEVICE0=/dev/sdb1

i=0
# Wait 15 secs, mount when ready, and continue if it dosnt get ready within 15 secs.
while [ $i -le 15 ]
do

if [ -e $MOUNT_DEVICE0 ]
then
mount -o rw $MOUNT_DEVICE0 /disco/
echo "Success: $MOUNT_DEVICE0"
exit 0
fi

sleep 1
i=`expr $i + 1`
done



and the folder has next permissions:

drwxr-xr-x 4 root root 32768 Jan 1 00:08 asus

if i do "chmod 777 asus" they don't change :confused:


i have a samba server for sharing the "asus" folder and i can read but i can't write.

Can someone help me?? thanks!!

Regards.