Re: [OpenAFS] AFS nautilus file browser

2006-08-21 Thread Russ Allbery
Kirk Patton <[EMAIL PROTECTED]> writes:

> I am running an AFS cell using OpenAFS 1.4.0-c4.  A user has reported
> issues with the file browser nautilas.  It crashes when browsing AFS
> file spaces.

> Has anyone come accross this before?  I saw a previous post reguarding a
> similar issue, Oct 2001, but there was not resolution mentioned.

Try using gamin instead of fam.  That's the problem with a lot of file
browsers.  Since fam runs outside of the user's context as a system
service, it doesn't have the credentials to see into AFS, and the
confusion between what the file browser can see vs. what fam can see
confuses it.

-- 
Russ Allbery ([EMAIL PROTECTED]) 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] AFS nautilus file browser

2006-08-21 Thread Kirk Patton
Hello,

I am running an AFS cell using OpenAFS 1.4.0-c4.  A user has reported issues 
with the file browser
nautilas.  It crashes when browsing AFS file spaces.

Has anyone come accross this before?  I saw a previous post reguarding a 
similar issue, Oct 2001, 
but there was not resolution mentioned.

The client OS is Centos 4.3

Thanks,
Kirk

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] access control lists

2006-08-21 Thread Russ Allbery
Christopher D Clausen <[EMAIL PROTECTED]> writes:
> Russ Allbery <[EMAIL PROTECTED]> wrote:
>> Daniel Miller <[EMAIL PROTECTED]> writes:

>>> Is there a way to do fs setacl recursively?

>> 

> Is that suposed work on Windows as well?

Not a clue.  I've never tried it.

> B/c perl.exe crashed when I tried it.

That sounds... problematic.

-- 
Russ Allbery ([EMAIL PROTECTED]) 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] access control lists

2006-08-21 Thread Christopher D. Clausen
Russ Allbery <[EMAIL PROTECTED]> wrote:
> Daniel Miller <[EMAIL PROTECTED]> writes:
>
>> Is there a way to do fs setacl recursively?
>
> 

Is that suposed work on Windows as well?

B/c perl.exe crashed when I tried it.



Re: [OpenAFS] access control lists

2006-08-21 Thread Russ Allbery
Todd M Lewis <[EMAIL PROTECTED]> writes:

> * This still makes the mistake of traversing AFS volume mount points,
> which can lead to iniquity.

Yeah, the main thing that the fsr wrapper takes care of is configurable
behavior about crossing mount points.

-- 
Russ Allbery ([EMAIL PROTECTED]) 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] access control lists

2006-08-21 Thread Derrick J Brashear

cc -o ws /afs/andrew.cmu.edu/usr/shadow/ws.c

./ws . -d "fs sa %f whoever whatever"

On Mon, 21 Aug 2006, Todd M. Lewis wrote:




Daniel Miller wrote:

Is there a way to do fs setacl recursively?

-Daniel


Here's a recursive "fs sa" for afs using xargs:

 find . -noleaf -type d -print0 | xargs -0 -n 2 fs sa -acl XX YY -dir

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] access control lists

2006-08-21 Thread Todd M. Lewis



Daniel Miller wrote:

Is there a way to do fs setacl recursively?

-Daniel


Here's a recursive "fs sa" for afs using xargs:

  find . -noleaf -type d -print0 | xargs -0 -n 2 fs sa -acl XX YY -dir

A few things to notice:

* -noleaf in AFS makes find do the Right Thing at the root of volumes.

* -print0 instead of -print makes find do the Right Thing wrt names with 
spaces and other weird characters that we normally eschew.


* The "-0" makes xargs do the Right Thing wrt find's "-print0". (They 
were literally made for each other.)


* The "2" after "-n" could be 20 or 50 or whatever. I made it small just 
to make sure it was doing the Right Thing in limiting the number of 
parameters it tried to do on each command.


* The "normal" order of "-dir" and "-acl" has been reversed so that 
"-dir" is on the end. This lets xargs put a bunch of directories on the 
end as the last parameters.


* The "XX" and "YY" are supposed to be the principal and the 
permissions, respectively (like "daniel" and "write").


* This still makes the mistake of traversing AFS volume mount points, 
which can lead to iniquity.

--
+--+
   / [EMAIL PROTECTED]  919-445-9302  http://www.unc.edu/~utoddl /
  /   "He is not only dull himself, he is the cause of   /
 / dullness in others." - Samuel Johnson/
+--+
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] access control lists

2006-08-21 Thread Russ Allbery
Daniel Miller <[EMAIL PROTECTED]> writes:

> Is there a way to do fs setacl recursively?



-- 
Russ Allbery ([EMAIL PROTECTED]) 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] access control lists

2006-08-21 Thread Daniel Miller
Is there a way to do fs setacl recursively?

-Daniel

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Question about disk usage

2006-08-21 Thread Derrick J Brashear
AFS puts the data where you tell it to. It doesn't distribute the data 
sequentially, or balanced. It puts the data on the partition the volume 
you're writing to is on, and that volume is on the partition you (or your 
admin) put it on.


Derrick

On Mon, 21 Aug 2006, Madhusudan Singh wrote:


Hello

I administer an openafs cell for our research group and have two ~170G
partitions assigned for storing user volumes (/vicepa and /vicepb).

I was wondering if AFS distributes the volumes over these two partitions or
just fills them up sequentially. The usage on our server machine shows the
following :

/dev/sda10169G   47G  122G  28% /vicepa
/dev/sda11169G   33M  168G   1% /vicepb

Is this normal or is it a sign of something amiss ?

Thanks.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Question about disk usage

2006-08-21 Thread Chris Huebsch

Hello,

On Mon, 21 Aug 2006, Madhusudan Singh wrote:


I was wondering if AFS distributes the volumes over these two partitions or
just fills them up sequentially. The usage on our server machine shows the
following :


AFS does not distribute volumes automagically. Neither over partions nor
over servers.

Either you distribute them manually or with a tool. For small
environments manual distibutions is sufficient. (vos move)
If you need a too, the classic old "balencer" tool works fine.

Chris
--
Chris Huebschwww.huebsch-gemacht.de | TU Chemnitz, Informatik, RNVS
GPG-Encrypted mail welcome! ID:7F2B4DBA |   Str. d. Nationen 62, B204
Chemnitzer Linux-Tage 2007, 3.-4. Maerz |   D-09107 Chemnitz
http://chemnitzer.linux-tage.de/|  +49 371 531-31118
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Question about disk usage

2006-08-21 Thread Madhusudan Singh
Hello

I administer an openafs cell for our research group and have two ~170G 
partitions assigned for storing user volumes (/vicepa and /vicepb).

I was wondering if AFS distributes the volumes over these two partitions or 
just fills them up sequentially. The usage on our server machine shows the 
following :

/dev/sda10169G   47G  122G  28% /vicepa
/dev/sda11169G   33M  168G   1% /vicepb

Is this normal or is it a sign of something amiss ?

Thanks.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info