Axl Posted December 13, 2003 Share Posted December 13, 2003 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 :) Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 14, 2003 Share Posted December 14, 2003 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 Link to comment Share on other sites More sharing options...
Axl Posted December 14, 2003 Author Share Posted December 14, 2003 cheers, i've messed about with fstab now, and it seems to be ok. Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 14, 2003 Share Posted December 14, 2003 Glad to hear :) Link to comment Share on other sites More sharing options...
Axl Posted December 19, 2003 Author Share Posted December 19, 2003 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 Link to comment Share on other sites More sharing options...
Axl Posted December 20, 2003 Author Share Posted December 20, 2003 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 :) so far so good.. Thanks to Gryphon in IRC :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now