DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-08-26 16:14:22

monarchdodra
New member
Registered: 2009-01-17
Posts: 4

Machine resets user rights on disk

My Setup:
#DNS 323; 2x 1Gb HDD without raid; 1.09 firmware.

What I usually do:
#1 - Install ffp (0.5), activate ssh
#2 - Create a couple users, and a group.
#2 - Install sudo package (and sudoer myself)
#4 - Change user rights on drive to manage who has what rights on which files via linux. Create 1 single "top level" samba share.
#5 - Usermod my users to -s /ffp/bin/sh -d /ffp/home/USERNAME
#6 - Create some ftp shares
#7 - Other?

What happens:
The machine decides "something" is wrong and proceeds to chmod the entire drive! This happens when the machine starts up. This is especially frustrating for 2 reasons:
#1 - Completely messes up ffp and ssh (ssh refuses to start because the keys are public)
#2 - My girlfriend backs up her entire development machine on my NAS, so it's about 500 000 files. It takes hours to undo the damage...

The question
Does anybody know what I am doing wrong? At what point does the firmware decide that my drive needs its rights reset? Are there any "Do nots" or "Do not touch files" I should know about? I haven't been able to pin down what is triggering this, and it's driving me crazy!

Thanks for any input.

Offline

 

#2 2011-08-26 17:15:14

rsd76
Member
Registered: 2010-04-18
Posts: 47

Re: Machine resets user rights on disk

Hi,

Could be caused by: http://dns323.kood.org/forum/viewtopic.php?id=407 .
See also http://dns323.kood.org/forum/viewtopic.php?id=6227 .

Changing the root permissions of a partition to other than 777 (eq drwxrwxrwx).


Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin & Hobbes)

Offline

 

#3 2011-08-26 18:05:16

monarchdodra
New member
Registered: 2009-01-17
Posts: 4

Re: Machine resets user rights on disk

Hum... Thanks for the links, however, I'm certain I have never changed the rights of those drives. Could it be something else?

Would giving samba/ftp write rights access to a folder that is read only be a problem?

I don't know what else could be triggering this >:(

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB