04-18-2011
AFP mount + Chown/Chgrp respecting
Hello all...
Does anyone know how to make an AFP mount of home directories (/Volumes/users off of another server) so that any users doing an ssh login retain write permission to their individual folders, read-write permissions to folders chowned to appropriate group... and so that newly created files are done so with their own user name?
Thanks for any suggestions.
/shawn
p.s. I am able to mount as a specific user, but any simultaneously logged-in user is not able to write into their own folder then (as the mount is done in the name of the other user). Mounting as 'admin' doesn't help. Mounting as 'root' isn't available (I can sudo mount... but not login as root.. but sudoing the mount doesn't help either ).
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Is there a way to monitor FTP and AFP bandwidth on a per user basis? AFP = AppleFilesharingProtocol, and by monitor, I don't mean graphs, I mean getting raw byte counts I can use in my scripts any way I choose. I am attempting to use mod_watch to monitor virtual domain bandwidth usage, but I really... (0 Replies)
Discussion started by: l008com
0 Replies
2. UNIX for Advanced & Expert Users
Hello
Anybody any idea how to extract data from an AFP file using UNIX commands?
I could make the AFP to PDF or if there is any other to change it to to make the extraction simplar. I'm open to ideas.
Cheers (4 Replies)
Discussion started by: Dolph
4 Replies
3. UNIX for Dummies Questions & Answers
Hi
Can anybody please let me know the usage of Chgrp command with an example???
Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
4. Shell Programming and Scripting
Hi
I want to make string substitution ignoring case for search but respecting case for subtitute. Ex changing all occurences of "original" in a file to "substitute":
original becomes substitute
Origninal becomes Substitute
ORIGINAL becomes SUBSTITUTE
I know this a little special but it's not... (1 Reply)
Discussion started by: kmchen
1 Replies
5. OS X (Apple)
Hello All,
I've have created a script today that will mount my shared afp volumes to my system successfully, however, I've come across a very interesting issue that I can't seem to get by, so maybe someone will be kind enough to lend some advice. I am working on OS X 10.6.4 and using the... (1 Reply)
Discussion started by: sbjones25
1 Replies
6. Shell Programming and Scripting
I have a problem on Linux wherein it doesn't allow me to use the chown and chgrp even if I am the owner of the file. Is this one of the Linux limitations?
BTW, I can use chmod. (4 Replies)
Discussion started by: Jin_
4 Replies
7. IP Networking
Hi,
Curious problem with IPV6. Situation is wget request from squid proxy via intermediate router. With IPV4 (wget -4) speed is ~100MB/sec. With IPV6 (wget -6) it drops to 30KB/sec.
Examining the traffic with tcpdump shows that the squid box is regularly sending out over-sized packets (>MTU)... (5 Replies)
Discussion started by: jusme
5 Replies
8. Shell Programming and Scripting
Hi
I am trying to locate a unix utility to convert AFP files to readable text format
There are plenty of windows tools, but I need a unix equivilant.
Can anyone help?
Sample Windows tool that works:
AFP To Text Converter 2 2 Download page - AFP To Text Converter Shareware Download
... (5 Replies)
Discussion started by: frustrated1
5 Replies
9. Red Hat
I found that I cannot chgrp for some reason with error:
chgrp: changing group of `<file>': Invalid argument
This happens on all NFS mounted disks on client machines.
We use AD (not my call) for authentication and it also provides groups.
We have a NFS server running Scientific Linux 6.3... (1 Reply)
Discussion started by: venmx
1 Replies
10. Solaris
Hi,
I am facing chgrp issue for a directory on a NAS mounted partation.
issue details :
user1 belongs to two groups grp1(primary) and grp2(secondary) not able to change directory group to secondary.
WORKING on /tmp
#mkdir /tmp/a
#ls -ld /tmp/a
drwxr-xr-x 2 user1 grp1 117 Mar 24... (7 Replies)
Discussion started by: naveen.surisett
7 Replies
LEARN ABOUT XFREE86
asip-status.pl
ASIP-STATUS.PL(1) Netatalk 2.2 ASIP-STATUS.PL(1)
NAME
asip-status.pl - Queries AFP servers for their capabilities
SYNOPSIS
asip-status.pl [-d] [-i] [-x] HOSTNAME[:PORT]
asip-status.pl -v | -version | --version
DESCRIPTION
asip-status.pl is a perl script that sends a FPGetSrvrInfo request to an AFP server at HOSTNAME:PORT and displays the results, namely
"Machine type", the server's name, supported AFP versions, UAMs and AFP flags, the "server signature" and the network addresses, the server
provides AFP services on.
When you don't supply :PORT, then the default AFP port, 548, will be used.
OPTIONS
-d
Enable debug output.
-i
Show icon if it exists.
-x
Enable hex dump output.
-v, -version, --version
Show version.
EXAMPLES
asip-status.pl 192.168.21.2
AFP reply from 192.168.21.2:548
Flags: 1 Cmd: 3 ID: 57005
Reply: DSIGetStatus
Request ID: 57005
Machine type: Macintosh
AFP versions: AFPVersion 1.1,AFPVersion 2.0,AFPVersion 2.1,AFP2.2
UAMs: Cleartxt passwrd,Randnum exchange,2-Way Randnum exchange
Flags: SupportsCopyFile,SupportsChgPwd,SupportsServerMessages,
SupportsServerSignature,SupportsTCP/IP,SupportsSuperClient
Server name: PowerMac 9600/200
Signature:
04 c1 6e 59 04 c1 6e 59 04 c1 6e 59 04 c1 6e 59 ..nY..nY..nY..nY
Network address: 192.168.21.2:548 (tcp/ip address and port)
Network address: 10.20 (ddp address)
asip-status.pl myserver:10548
AFP reply from myserver:10548
Flags: 1 Cmd: 3 ID: 57005
Reply: DSIGetStatus
Request ID: 57005
Machine type: Netatalk
AFP versions: AFPVersion 1.1,AFPVersion 2.0,AFPVersion 2.1,AFP2.2,AFPX03,
AFP3.1
UAMs: Cleartxt passwrd,Randnum exchange,2-Way Randnum exchange,DHCAST128
Flags: SupportsCopyFile,SupportsServerMessages,SupportsServerSignature,
SupportsTCP/IP,SupportsSrvrNotifications,SupportsOpenDirectory,
SupportsUTF8Servername,SupportsSuperClient
Server name: Fire V480
Signature:
83 29 cc 60 83 29 cc 60 83 29 cc 60 83 29 cc 60 .).`.).`.).`.).`
Network address: 192.168.21.1:10548 (TCP/IP address and port)
Network address: 65282.142 (ddp address)
UTF8 Servername: Fire V480
REPORTING BUGS
Report bugs to the Netatalk-devel list <netatalk-devel@lists.sourceforge.net>.
Netatalk 2.2 02 Sep 2011 ASIP-STATUS.PL(1)