Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: holywacks on May 27, 2008, 09:58:58 PM
-
Is there a way to force a group assignment when I save a file to a SME server from a WinXP station?
I'll explain....I have a folder "docs" on the server with permissions
drwxrwx--- 5 jsmith admin 4096 May 27 15:09 docs
if I create a document test.doc from WinXP station and save it into the "docs" folder it will save it with the permissions jsmith : jsmith
Is there a way to force the group permissions so it will save it as jsmith : admin?
-
chmod g+s docs
see 'man chmod'
-
holywaks
please explain where you have these files and what are you triyng to do
TIA
Stefano
-
I have a SME Server 7.3 that I use as a File Server Only.
I have 9 WinXP Pro stations on that LAN.
I created a ibays called COMMUN that all users can save files that they're able to share with others.
When a user (jsmith) create a new file from a WinXP station (let say a Word document) and saves it to the COMMUN folder, the ownership of that file is jsmith:jsmith. Then if another user acces that file, he is able to open it but can't modify it.
I was wondering if there is a way to config the server that when a user saves a file it force the group ownership to SHARED.
Maybe there is a way to config the SME server differently.
PS. I discoved SME only 3months ago and still learning. (So I'm still a newbie) When I started working at this new job the old Win2000 server crashed and needed a quick replacement and SME Server saved the day!
-
hi
please post here the result of
db accounts show COMMUN
when you create an ibay, the normal behavior is exaclty what you want..
ciao
Stefano
-
Here it is,
commun=ibay
CgiBin=disabled
Gid=5000
Group=shared
Name=commun
PasswordSet=no
PublicAccess=local
Uid=5000
UserAccess=wr-group-rd-group
-
looks good..
can you confirm that files into this ibays have permission like
-rwxrw---- 1 jsmith jsmith 1327616 Feb 21 2007 myfile.doc
and not like
-rwxrw---- 1 jsmith shared 1327616 Feb 21 2007 myfile.doc
TIA
Stefano
-
Magic!!! it's seems to be working this morning.
I feel bad, my first post and its seem that I don't realy have a problem!
I don't understand why it wasn't working yesterday. I'm gonna try to find more infos on the working of rights and permissions.
sorry to have taken your time.
My next step is to find a reliable way to backup the data.
I'm presently testing Genie Backup Manager Pro 8.
I'm doing the backups from a station to a USB Drive.
Any suggestions?
Thanks again for your time. I really appreciate the efficiency of this forum, great job guys.
-
Hi
are you talking about backup for your pc? if yes, look at backuppc in howto section.
ciao
stefano
-
Hi
I'm looking to backup the server. All data from my COMMUN folder.
Now I'm testing differential and Incremental backups.
the size of the data is over 20Gb.
-
Hi again..
there are many contribs to backup your server.. use the "Search" link or look into wiki/howtos.
If you feel confortable, you can write down your own backup script.
Ciao
Stefano
-
I will.
Thanks again Stefano,
I'll keep in touch.
Have a exelent good day!
Marcel
-
It is strange that it changed. I have found that if I use Winscp to copy a file into an IBAY it does not get the IBAY permission settings. I have had several "orphan files" created this way. I have found that if I go into IBAY configuration in server-manager and save the configuration of that IBAY, the IBAY group gets written back to those files.
-
I'll get more familliar with the SME file structures, rights and permissions and I will probably figure out what happen.
I'll let you know.
I use Winscp myself and I've notice that too, but I never use it to transfer or copy files to the server.
Well i'll go back to work now.
-
chmod g+s docs
see 'man chmod'
No, Michael - users shouldn't need to know or use chmod to have directories within i-bays setgid.
-
It is strange that it changed. I have found that if I use Winscp to copy a file into an IBAY it does not get the IBAY permission settings.
Please provide details via a bug report. Thanks.