Re: Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread Camaleón
On Mon, 18 Jun 2012 12:54:34 +0300, Volkan Yazıcı wrote: > On Mon, 18 Jun 2012 10:09:04 +0100, keith writes: >> On Mon, 2012-06-18 at 10:41 +0300, Volkan Yazıcı wrote: >>> I have access to a remote Samba storage device that I don't have a >>> control over the uploa

Re: Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread keith
On Mon, 2012-06-18 at 15:52 +0200, Andrej Kacian wrote: > On Mon, 18 Jun 2012 12:54:34 +0300 > Volkan Yazıcı wrote: > > > In such a case, AFAIK, I won't be able to take benefit of > > incremental backups and I will need to tar+cp the whole disk > > everytime I want to take a backup. Am I mistaken

Re: Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread Andrej Kacian
On Mon, 18 Jun 2012 12:54:34 +0300 Volkan Yazıcı wrote: > In such a case, AFAIK, I won't be able to take benefit of > incremental backups and I will need to tar+cp the whole disk > everytime I want to take a backup. Am I mistaken? You could use duplicity (http://www.nongnu.org/duplicity/) for in

Re: Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread Dom
On 18/06/12 10:54, Volkan Yazıcı wrote: On Mon, 18 Jun 2012 10:09:04 +0100, keith writes: On Mon, 2012-06-18 at 10:41 +0300, Volkan Yazıcı wrote: I have access to a remote Samba storage device that I don't have a control over the uploaded file owner/group/permissions. Hence, once I uplo

Re: Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread Volkan Yazıcı
On Mon, 18 Jun 2012 10:09:04 +0100, keith writes: > On Mon, 2012-06-18 at 10:41 +0300, Volkan Yazıcı wrote: >> I have access to a remote Samba storage device that I don't have >> a control over the uploaded file owner/group/permissions. Hence, >> once I upload my stuff t

Re: Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread keith
On Mon, 2012-06-18 at 10:41 +0300, Volkan Yazıcı wrote: > Hi! > > I have access to a remote Samba storage device that I don't have > a control over the uploaded file owner/group/permissions. Hence, > once I upload my stuff to the remote end via rsync over Samba, I > lose

Samba Backup Tool Preserving File Owner/Group/Permissions

2012-06-18 Thread Volkan Yazıcı
Hi! I have access to a remote Samba storage device that I don't have a control over the uploaded file owner/group/permissions. Hence, once I upload my stuff to the remote end via rsync over Samba, I lose all my file attributes. Could you recommend any backup tool that provides a solution for

Re: group permissions (was chroot ssh and ftp)

2012-04-02 Thread Chris Davies
Dr Beco wrote: > Do you mean in the script (professor branch) something like: > chown $USU:professor $USU > chmod go= $USU Yes. > This way one professor cannot see each others dirs, but inside home a > file would be created (and stayed) like: rw-rw > Right? Don't need the -R. Correct.

Re: group permissions (was chroot ssh and ftp)

2012-04-01 Thread Dr Beco
> To: debian-user lists.debian.org > Subject: Re: group permissions (was chroot ssh and ftp) > From: Chris Davies > > Chris wrote: > The problem with this is that you're making files executable. Personally > I think you'd be better off just fixing just the professo

Re: group permissions (was chroot ssh and ftp)

2012-04-01 Thread Chris Davies
Dr Beco wrote: > Now, for the permissions stated before, I got this until now: > Professors belong to two groups, professors and students > Students belong only to alumini > Admins belong to all > Then I run in professors /home/dirs the following command: > chown -R :professors paul peter patric

Re: group permissions (was chroot ssh and ftp)

2012-03-31 Thread Dr Beco
Dear Chris, When you pointed out there would be no serious benefit by chrooting the users, I decided to hold this configuration for a while. To isolate the system will take some time, and some bureaucratics :) Now, for the permissions stated before, I got this until now: Professors belong to two

Re: Setting Default Group Permissions In Folders

2009-10-16 Thread Todd A. Jacobs
On Wed, Oct 07, 2009 at 05:47:40PM -0500, Austin Brkich wrote: > group www-user however I am unable to automatically set the > permissions to 664 and there defaulting to 644. I know this is do to If you don't want to adjust the default umask or change the file modes directly, you'll have to set

Re: Setting Default Group Permissions In Folders

2009-10-09 Thread Ken Teague
You may be able to get Puppet to do this for you. http://reductivelabs.com/trac/puppet/wiki/Recipes/FilePermissionCheck - Ken -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: Setting Default Group Permissions In Folders

2009-10-08 Thread Boyd Stephen Smith Jr.
In <4edb5eb80910071547sace8ddfx137a975ea9805...@mail.gmail.com>, Austin Brkich wrote: >I have created a new group called www-user, this group is suppose to >allow multiple users to read/write/execute files/folders in /var/www. The first step is to make sure files get owned by the right group: fin

Re: Setting Default Group Permissions In Folders

2009-10-08 Thread Boyd Stephen Smith Jr.
In <81c921f30910080124g4d20a72cg91846974ad38f...@mail.gmail.com>, Javier Barroso wrote: >On Thu, Oct 8, 2009 at 12:47 AM, Austin Brkich >wrote: >> I have created a new group called www-user, this group is suppose to >> allow multiple users to read/write/execute files/folders in /var/www. >> I hav

Re: Setting Default Group Permissions In Folders

2009-10-08 Thread Javier Barroso
Hi, On Thu, Oct 8, 2009 at 12:47 AM, Austin Brkich wrote: > This has probably been asked a million times and I have yet to seen a > proper response when searching for the answer. > > I have created a new group called www-user, this group is suppose to > allow multiple users to read/write/execute f

Setting Default Group Permissions In Folders

2009-10-07 Thread Austin Brkich
This has probably been asked a million times and I have yet to seen a proper response when searching for the answer. I have created a new group called www-user, this group is suppose to allow multiple users to read/write/execute files/folders in /var/www. I have used chmod to allow new files/folde

nfs, ldap and group permissions

2003-12-09 Thread Stephan Seitz
the group on the client with the users, I can create new files, too. So it seems that write requests don't propperly resolve the group permissions if the group is a LDAP group and the directory is exported by an NFS server. ls and "getent group" are showing correct group names

Re: group permissions

2001-01-17 Thread Ethan Benson
On Tue, Jan 16, 2001 at 08:10:02PM -0600, Rob VanFleet wrote: > Sorry, I didn't make as much sense as I meant to. Basically, I was > wondering if it is possible for the default group permissions to change > on a created file. like: > > I create a file in /var/www called &

Re: group permissions

2001-01-16 Thread Rob VanFleet
Sorry, I didn't make as much sense as I meant to. Basically, I was wondering if it is possible for the default group permissions to change on a created file. like: I create a file in /var/www called 'test' it is normally: -rw-r--r--1 rvf www-files0 Jan 16 20:0

Re: group permissions

2001-01-16 Thread Ethan Benson
On Tue, Jan 16, 2001 at 07:22:05PM +, Rob VanFleet wrote: > I have the permissions on /var/www set so that any file created within > it is owned by www-data. Currently, www-data does not have write access > to the files. What I want to do is set it up so that any file created > in /var/www is

group permissions

2001-01-16 Thread Rob VanFleet
I have the permissions on /var/www set so that any file created within it is owned by www-data. Currently, www-data does not have write access to the files. What I want to do is set it up so that any file created in /var/www is owned by www-data and www-data has write permissions to it, so that f