Last edited by Aximilli; June 6th, 2008 at 04:53 AM. Reason: tact* in hindsight
"Think your Yourself, Question Authority"
What about going inside your share directory and just issue the command:
to change all files and folders.Code:sudo chmod -R 755 *
Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.
Well, I don't think that will help me in my ultimate goal. Let me give a little detail on what I'm trying to do, and maybe that will help to determine if that is indeed the fix I want.
This box is going to be a headless storage server for my house. Ultimately I am going to have my machine as well as both my parents (who use windows) have a network drive that points to this /share directory. I want them to have full access to add, edit, and remove files in this dir. But I do want to keep it as secure as I can since it is accessible on the internet via ssh and webmin.
So I created a sharers group, to which I am trying to add user accounts for my parents (hopefully without passwords, to make it easier on them) which are synchronized with the Samba users group. Which is why I'd like the /share folder and all it's sub directories to be owned by that group.
I hope this explanation helps you in helping me.
Thanks
Alex
"Think your Yourself, Question Authority"
What if you just edit your smb.conf file and inlcude the following lines below:
Code:[sharers] path = /share writable = yes printable = no write list =@sharers create mode=0770 directory mode=0770
Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.
well I added that code to my smb.conf file and updated it, restarted samba, and am still unable to access my share/public directory.
Why am i not able to just permanently change the group ownership of that dir?
Alex
Last edited by Aximilli; June 6th, 2008 at 05:27 AM. Reason: make thing clearer
"Think your Yourself, Question Authority"
Why would it not give you explicit folder ownershipWhat about using ACL?
Try changing /etc/fstab for mountpoints you wish to use the ACL.Code:sudo apt-get install acl
change /etc/fstab for the mountpoint you wish to use acl.
Sample:
Unmount and Mount your /media/share in order to activate the ACL. Use setfacl command to set your shared folder permission./dev/sda1 /media/share ext3 defaults,acl 0 2
Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.
I've never used ACL before and don't know how it works. I really want to try and keep this server as simple as possible.
Is it the case that I just can't change the group ownership of this folder permanently? and why not?
and also this folder isn't in media or mnt, it's mounted into /share
Thanks for your advice
Alex
"Think your Yourself, Question Authority"
What about using thunar? I'm our of suggestions![]()
Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.
Well, the dawn of a new day brought new inspiration. I used webmin to change owner and group of my folder, remounted it and the new permissions stuck! who would have thought webmin for the win?
Thanks very much though for your suggestions.
"Think your Yourself, Question Authority"
Bookmarks