Jump to content

Setting permissions for global access


static
 Share

Recommended Posts

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 by static
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...