[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnu-arch] [bug #4774] file permissions in sftp archive
From: |
nobody |
Subject: |
[Bug-gnu-arch] [bug #4774] file permissions in sftp archive |
Date: |
Fri, 29 Aug 2003 16:33:01 -0400 |
User-agent: |
Mozilla/4.76 [en] (X11; U; FreeBSD 3.0-RELEASE i386) |
=================== BUG #4774: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4774&group_id=4899
Changes by: Tom Lord <address@hidden>
Date: Fri 08/29/2003 at 13:33 (US/Pacific)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Invalid
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
I think this patch is a bad idea.
First, the gid should be inherited automatically --
so that part of the functionality is redundant.
Second, a single archive can be accessed by multiple
transports, but not all transports provide chgrp and
chmod functionality -- so this patch is too transport
specific and can't be implemented in other transports.
I don't see why a properly configured sftp server wouldn't
do the right thing to enable multi-user access with
reasonable control over permissions.
=================== BUG #4774: FULL BUG SNAPSHOT ===================
Submitted by: tomlord Project: GNU arch -- a revision control
system
Submitted on: Sat 08/16/2003 at 11:49
Category: tla Severity: 5 - Major
Bug Group: None Resolution: Invalid
Status: Closed Release:
Fixed Release: Merge Request?: yes -- merge from my
archive
Your Archive Name: address@hidden Archive Location: ftp://arch:address@hidden/
Assigned to: None
Summary: file permissions in sftp archive
Original Submission:
From: Enno Cramer <address@hidden>
As promised, here is my hack to allow multi-user archives with sftp write
access. This patch changes the group id and permission for every newly created
file or directory to the parent directory's gid/permission.
$ tla whereis-archive address@hidden
ftp://arch:address@hidden/
$ tla abrowse --summary address@hidden/tla
address@hidden
tla
tla--devo
tla--devo--1.1
base-0
tag of address@hidden/tla--devo--1.1--patch-127
patch-1
gid/permission inheritance for pfs-sftp
Cheers,
Enno
Follow-up Comments
*******************
-------------------------------------------------------
Date: Fri 08/29/2003 at 13:33 By: tomlord
I think this patch is a bad idea.
First, the gid should be inherited automatically --
so that part of the functionality is redundant.
Second, a single archive can be accessed by multiple
transports, but not all transports provide chgrp and
chmod functionality -- so this patch is too transport
specific and can't be implemented in other transports.
I don't see why a properly configured sftp server wouldn't
do the right thing to enable multi-user access with
reasonable control over permissions.
CC List
*******
CC Address | Comment
------------------------------------+-----------------------------
address@hidden |
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4774&group_id=4899
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-gnu-arch] [bug #4774] file permissions in sftp archive,
nobody <=