bugGNU arch -- a revision control system - Bugs: bug #4774, file permissions in sftp archive

 
 

bug #4774: file permissions in sftp archive

Submitted by:  Tom Lord <tomlord>
Submitted on:  Sat 16 Aug 2003 06:49:23 PM UTC  
 
Category: tlaSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicOpen/Closed: Closed
Release: 
Fixed Release: 
Merge Request?: yes -- merge from my archive
Your Archive Name: uebergeek@web.de--2003
Your Archive Location: ftp://arch:arch@geeky.kicks-ass.org/
Assigned to: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 29 Aug 2003 08:33:00 PM UTC, comment #1:

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.

Tom Lord <tomlord>
Project Member
Sat 16 Aug 2003 06:49:23 PM UTC, original submission:

From: Enno Cramer <uebergeek@web.de>

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 uebergeek@web.de--2003
ftp://arch:arch@geeky.kicks-ass.org/

$ tla abrowse --summary uebergeek@web.de--2003/tla
uebergeek@web.de--2003
tla
tla--devo
tla--devo--1.1

base-0
tag of lord@emf.net--2003b/tla--devo--1.1--patch-127

patch-1
gid/permission inheritance for pfs-sftp

Cheers,
Enno

Tom Lord <tomlord>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 29 Aug 2003 08:33:00 PM UTCtomlordStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Fri 29 Aug 2003 08:28:18 PM UTCtomlordYour Archive Locationftp://arch:arch@geeky.kicks-ass.org/ =>

Back to the top


Powered by Savane 3.1-cleanup1