• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems with named pipes, mkfifo and ACLs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with named pipes, mkfifo and ACLs


  • Subject: Problems with named pipes, mkfifo and ACLs
  • From: Roger Perttu <email@hidden>
  • Date: Sat, 31 Jul 2010 13:25:06 +0200

Hi all,

I'm having problems with Komodo Edit which is trying to create a named pipe under ~/Library/Application Support... It all boils down to a problem with named pipes and ACLs. When Kmodo Edit fail to start I get this in the server.log:

[errno 22]: Invalid argument

I've messed around with mkfifo and I get the same cryptic message when I try to create a new named pipe and there are ACLs set for the parent folder (but the pipe seems to work after that).  I've only tried with one specific ACL entry and that is the one created by enabling "Spotlight search" for a share. My experiments:

Normal folder:
	miniserver:~ perror$ ls -le
	drwxrwxrwx   8 administrator  admin        272  1 Nov  2009 _raderas

	miniserver:~ perror$ mkfifo '/Volumes/RAID/_raderas/my_fifo_test'
	miniserver:~ perror$

Share the folder and try again:
	miniserver:~ perror$ mkfifo '/Volumes/RAID/_raderas/my_fifo_test2'
	mkfifo: /Volumes/RAID/_raderas/my_fifo_test2: Invalid argument

Turn off SMB:
	miniserver:~ perror$ mkfifo '/Volumes/RAID/_raderas/my_fifo_test3'
	mkfifo: /Volumes/RAID/_raderas/my_fifo_test3: Invalid argument

Stopp sharing:
	miniserver:~ perror$ mkfifo '/Volumes/RAID/_raderas/my_fifo_test4'
	mkfifo: /Volumes/RAID/_raderas/my_fifo_test4: Invalid argument
	miniserver:~ perror$

Confused and desperate:
	miniserver:~ perror$ ls -le
	drwxrwxrwx+ 12 administrator  admin        408 31 Jul 12:07 _raderas
	 0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

A new hope:
	miniserver:~ perror$ sudo chmod -a# 0 /Volumes/RAID/_raderas
	Password:
	miniserver:~ perror$ mkfifo '/Volumes/RAID/_raderas/my_fifo_test5'
	miniserver:~ perror$


So if I get rid of the ACL entry mkfifo starts to behave as expected (by me). So the question is if it's supposed to be like this? I never (directly) use named pipes so don't know if this is a bug.

/Roger P _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: What is error -1429?
  • Previous by thread: Re: What is error -1429?
  • Index(es):
    • Date
    • Thread