Re: [zfs-discuss] zfs directory symlink owner

2010-05-08 Thread Michelle Knight
"One will be relative (../a/foo) and the other absolute (/mirror/audio-Cd-Tracks/a/foo)." Makes sense. I hadn't actually noticed this. It is not only sharing to Linux machines but also using SFTP as well from outside, so I need things to be pretty much multi-functional and flexible. I don't ha

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Edward Ned Harvey
> From: Kyle McDonald [mailto:kmcdon...@egenera.com] > > But (and I could be wrong these days) in my experience, while the Samba > server is great, the SMB client on linux can only mount the share as a > single specific user, and all accesses to files in the share are > performed as that user. Rig

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Kyle McDonald
On 5/3/2010 4:56 PM, Edward Ned Harvey wrote: >> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >> boun...@opensolaris.org] On Behalf Of Kyle McDonald >> >> If you're only sharing them to Linux machines, then NFS would be so >> much >> easier to use. You'll still want relative links

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Kyle McDonald > > If you're only sharing them to Linux machines, then NFS would be so > much > easier to use. You'll still want relative links though. Only if you have infrastructure to saniti

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Kyle McDonald
On 5/3/2010 7:41 AM, Michelle Knight wrote: > The long ls command worked, as in it created the links, but they didn't work > properly under the ZFS SMB share. > I'm guessing you meant the 'long ln' command? If you look at what those 2 commadns create you'll notice (in the output of ls -l) that

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Michelle Knight > > I seem to have a problem changing the owner of a symlinked directory. > > As root... > > mkdir a > chown admin:audiogroup a > ln -s a b > > Directory "b" shows up owned b

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
The long ls command worked, as in it created the links, but they didn't work properly under the ZFS SMB share. They didn't work as in, on a remote Linux box, I could execute ls and see them, but I couldn't change in; permission issues. (despite having the correct ownership) and also on the remo

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Now ... Why would this work... cd /mirror/audio/Cd-Tracks/0-entirelist ln -s ../a/* . ...but this fail ... ln -s /mirror/audio/Cd-Tracks/a/* /mirror/audio/Cd-Tracks/0-entirelist/. Any ideas? -- This message posted from opensolaris.org ___ zfs-discu

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Hmmm ... no, it didn't. I think it might be the sheer number of symlinks I've got in the directory. That might be causing problems with the ZFS smb share. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.o

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Beautiful! It worked. I can't work out why the symlinks failed to show up in the share when I did it, but this way they are showing up fine. Thank you very much!!! -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@op

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Martijn de Munnik
On 05/ 3/10 12:44 PM, Michelle Knight wrote: ... and now I've discovered that cp -L doesn't create symlinks. Back to the drawing board. You need to do it the other way round. Create a directory with all your artists and then create symlinks for A, B, C etc so: everything/ACDC everythin

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Onno Molenkamp
Michelle Knight schreef op 03-05-10 11:41: > What I've been doing is creating links in the entirelist folder, which > contain links to the sub-folders in each of the letters. very quick, very > simple. However, despite having access to all the folders and files, they > don't show up in the ZFS S

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
... and now I've discovered that cp -L doesn't create symlinks. Back to the drawing board. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Well, This is the overall issue. I have a music collection. The top level folders contain a letter for each artist and each letter then contains a separate folder for each artist. Nice and easy to organise and navigate. A - ACDC - Alanis Morisett B - BeeGees However ... I wanted to create

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Got it - I used cp -L -R to symlnk copy the whole structure instead. Messy, but it does the job. Thanks for all the advice! Much appreciated. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://ma

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Urk - my only problem now is that they don't seem to be showing in the published zfs smb share. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
Great stuff- Many thanks! -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Onno Molenkamp
Michelle Knight schreef op 03-05-10 10:23: > I seem to have a problem changing the owner of a symlinked directory. > > As root... > > mkdir a > chown admin:audiogroup a > ln -s a b > > Directory "b" shows up owned by root, but I can't change it from this. I > can't change the mod permissions ei

[zfs-discuss] zfs directory symlink owner

2010-05-03 Thread Michelle Knight
System = SunOS Node = jaguar Release = 5.11 KernelID = snv_133 Machine = i86pc BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 1 Hi Folks, I seem to have a problem changing the owner of a symlinked directory. As root... mkdir a chown admin:audiogroup a ln -s a b Directory "b" show