I have samba running great, but I'd like to enable my username to have write permission to root files.
When I login right now, Under users.map I have mapped my PC username to be "root" so that I can read and write to files normally writable only by root. This works great, but I'd like to change it a little. The problem is, when I write new files, the ownership becomes root. Of course I expected this, but that's not really what I'd like. What I'd really like is for my regular username to have write permission to all root files so that the ownership is still root, but I'm able to write to those files.
Any ideas how? I'm not opposed to using Unix group permissions if that is the best way. For example, a while back I tried making my username under Unix a member of the "root" group. I thought that by adding my username to the root group, I would have write permission to any files that were group writeable. Well, that didn't work... or at least I couldn't write to files after changing the permission to group writable. Maybe I was doing something wrong.
I'm not terribly worried about security, because I've told Samba to only respond to the IP address of my machine by using the "hosts allow" directive under [global]. However, if you think there may be other security concerns despite this, please let me know.
Thanks in advance!
When I login right now, Under users.map I have mapped my PC username to be "root" so that I can read and write to files normally writable only by root. This works great, but I'd like to change it a little. The problem is, when I write new files, the ownership becomes root. Of course I expected this, but that's not really what I'd like. What I'd really like is for my regular username to have write permission to all root files so that the ownership is still root, but I'm able to write to those files.
Any ideas how? I'm not opposed to using Unix group permissions if that is the best way. For example, a while back I tried making my username under Unix a member of the "root" group. I thought that by adding my username to the root group, I would have write permission to any files that were group writeable. Well, that didn't work... or at least I couldn't write to files after changing the permission to group writable. Maybe I was doing something wrong.
I'm not terribly worried about security, because I've told Samba to only respond to the IP address of my machine by using the "hosts allow" directive under [global]. However, if you think there may be other security concerns despite this, please let me know.
Thanks in advance!