[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Jailkit-users] Writing from an non-jailed account to a jailed one.
From: |
ddreggors |
Subject: |
RE: [Jailkit-users] Writing from an non-jailed account to a jailed one. |
Date: |
Sun, 20 Aug 2006 17:12:07 -0400 |
This topic has been in-valuable as I have been fighting this problem as
well. I have another issue on this line of topic though.
I have done as you suggested below but still when I upload a file to the
upload folder in the jailed user's home (I named it upload instead of
project1) I still have a slight issue. The file creation mode is set as
follows:
_rwxr_xr_x
Which does not give the group write permissions. I now have to manually
chmod to g+w to get the other non-jailed user who is also in the jailed
users group to have access to move this file and change permissions on it.
How can I permanently set the file creation mask to say 002 rather than
022?
Thank you for your help in advance,
David Dreggors
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Olivier Sessink
> Sent: Thursday, August 17, 2006 2:08 AM
> To: address@hidden
> Subject: Re: [Jailkit-users] Writing from an non-jailed account to a
> jailed one.
>
> John SALIK wrote:
> >
> > I wish to read and write files from a non-jailed account to a jailed
> one.
> > How do I accomplish this? I added the non-jailed account to the group
> > of the jailed one, and attempted to change directory permissions...
> > somehow, they magically revert (daemon running?).
>
> then something else is going on, jailkit will never change the
> permissions.
>
> suppose you have user mike in the jail /home/jail, and use jane outside
> the jail.
>
> put both mike and jane in group 'project1'
> (in both /etc/group and /home/jail/etc/group)
>
> create a directory /home/jail/project1
> chown root:project1 /home/jail/project1
> chmod g+sw /home/jail/project1
> ln /project1 ~mike/project1 -s
> ln /home/jail/project1 ~jane/project1 -s
>
> regards,
> Olivier
>
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/jailkit-users
- [Jailkit-users] Can't log in completely., John SALIK, 2006/08/10
- Re: [Jailkit-users] Can't log in completely., Olivier Sessink, 2006/08/10
- Re: [Jailkit-users] Can't log in completely., John SALIK, 2006/08/10
- Re: [Jailkit-users] Can't log in completely., Olivier Sessink, 2006/08/10
- Re: [Jailkit-users] Can't log in completely., John SALIK, 2006/08/10
- Re: [Jailkit-users] Can't log in completely., Olivier Sessink, 2006/08/10
- [Jailkit-users] Writing from an non-jailed account to a jailed one., John SALIK, 2006/08/16
- Re: [Jailkit-users] Writing from an non-jailed account to a jailed one., Olivier Sessink, 2006/08/17
- RE: [Jailkit-users] Writing from an non-jailed account to a jailed one.,
ddreggors <=
- Re: [Jailkit-users] Writing from an non-jailed account to a jailed one., Olivier Sessink, 2006/08/21