Help - Search - Members - Calendar
Full Version: chmoding problem
MandrivaUsers.org > General Help > Installing Mandriva
Axl
Hello,

I'm very new to mandrake/linux only know the real basics, and I've got a little chmoding problem, i'll try to explain.

Ive installed mandrake on my spare PC. I will be using this PC as a backup/server pc and hence installed samba onto it.

I've created a directory in /home called "Server" which is where all my backups and stuff will be going. I've set up samba to see this, and chmoded the "Server" directory to 777 so all pcs on my network can write to it.

This all works great, no problems... BUT...

If i leave it, go out for a while or something, when I return its un-chmoded the directory "Server" back to what it was before, meaning no one can get into it unless your root.

My question is, why is it returning back to its previous state, and is there a way to stop this?

Thanks smile.gif
Cannonfodder
I'm not real familiar with samba but linux sets file system priveledges on startup by reading the /etc/fstab file. Partition entries in this file are all the partititions and file systems that are mounted on startup. Try doing some searching on the board for

fstab /dev vfat

vfat = fat32
Axl
cheers, i've messed about with fstab now, and it seems to be ok. juggle.gif
Cannonfodder
Glad to hear smile.gif
Axl
hmm back again..

Tis getting silly now.. After kinda solving the above, im still getting weird stuff. this time i've setup ssh, and in the host.deny file i put "Execpt 192.168.0.1" which is my main pc.. saved it, and sshed to my linux pc..

Again works fine for a while, but after a while this file gets a new line added to it, without my execpt, meaning i can no longer ssh to it..

It seems my system keeps reseting things all the time, and I have no idea why :(

Any help would be great

cheers
Axl
ahha! looks fixed... Mandrake has a cron task that runs every hour which checks security and resets everything back to "022" grrr.. so ive edited it to not do that smile.gif so far so good..

Thanks to Gryphon in IRC biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.