static Posted April 17, 2005 Report Share Posted April 17, 2005 (edited) Hi guys! I just got my server all setup using 10.1 (and besides a pesky mouse-sometimes-doesn't-work-at-bootup problem, everything's great). I just had a quick question regarding mount points... I use a harddrive for the system with the regular /var, /home, and so on partitions, then I have a 160GB HD mounted as /public. It's using reiser as the filesystem and this is where I'd like all my users to upload their files via sftp. How can I change the default permissions so that anything that gets uploaded by any user is -rwxrwxr-x instead of -rwx------ ? I tried adding umask=002 to my options for that mount point in /etc/fstab, but then it wouldn't mount it at all on boot... saying "Bad option.." or some such nonsense. Thanks in advance for any help you can provide!! The relevent /etc/fstab line: /dev/hdc1 /public reiserfs user,notail 1 2 Edited April 18, 2005 by static Quote Link to comment Share on other sites More sharing options...
aioshin Posted April 18, 2005 Report Share Posted April 18, 2005 try #chmod go+rx -R /public g= group o=others +rx = rx for group and others will be added Quote Link to comment Share on other sites More sharing options...
static Posted April 18, 2005 Author Report Share Posted April 18, 2005 Hmm.. thanks, but no luck unfortunately. I'm looking to make it so that the permissions of files that will be put there are automatically 775, this just changed the files that are already there. Quote Link to comment Share on other sites More sharing options...
aioshin Posted April 18, 2005 Report Share Posted April 18, 2005 well, if u have'nt yet, open mcc then security, then permissions, then add a rule, and try to browse that /public and set your own rules there Quote Link to comment Share on other sites More sharing options...
static Posted April 18, 2005 Author Report Share Posted April 18, 2005 Cool thanks! I didn't know that was there - will try when I get home! ... cool Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.