|
Post by fritze on Dec 10, 2006 3:06:44 GMT 7
I've finally got my box all up and running. I decided to go all the way and run 2 Seagate 750GB drives in it and it's working very well so far. I've installed a few modules as well and I'm glad I did.
After copying almost 200GB with the auto-copy feature of the front USB port, I found I couldn't do a thing with the files or directories that had been copied..../raid/usbcopy/ was public and browsable and all the user had full priviledges in the destination directory....but it still said something like "Permission denied".
I finally had to SSH to it and log on as root and move the directories manually......I almost thought I'd have to start over.....after waiting 5-6 hours for it to copy the lot.
What could be the problem?
|
|
|
Post by dbridges on Dec 11, 2006 4:16:22 GMT 7
Have you set up any ACL permissions for the service folders?
It's under Storage -->> Service Folders in the admin area of the web GUI.
There is also a module floating around for fixing samba and file permissions. I highly recommend it.
|
|
|
Post by fritze on Dec 12, 2006 3:52:24 GMT 7
Have you set up any ACL permissions for the service folders? It's under Storage -->> Service Folders in the admin area of the web GUI. There is also a module floating around for fixing samba and file permissions. I highly recommend it. No ACL, it's "Public" and "Browsable" and I've already got the samba mod installed and running. Weird, huh?
|
|
|
Post by dbridges on Dec 12, 2006 4:43:37 GMT 7
Totally!!! What permissions are they being created with? You could try setting a umask in the /app/cfg/rc file actually edit the umask in the /img/bin/btn_copy It's set in the script to 000 which is not good. ############################# # main function # ############################# running=`ps aux |grep btn_copy |grep -v "grep" |wc -l` if [ $running -le 3 ]; then if [ "$token" = "" ]; then exit fi umask 000 if [ "$front_1" = "" ]; then device=`/bin/ls /var/run/usb/1-3` else device=`/bin/ls /var/run/usb/3-1` fi echo "S_LED 3 2" > /proc/thecus_io for j in $device do instant=`mount |grep "$j" | cut -d"/" -f6 | cut -d" " -f1 | sed -n '1p'` mini done fi echo "S_LED 3 0" > /proc/thecus_io
|
|