Quick question: is there a way to make a fileset hidden so it doesn't appear when browsing the filesystem through a CES SMB export? Could I do something clever with the directory mask? I want to migrate a load of files in but I don't want the customer to access them prematurely. Thanks Richard
On Tue, 2017-12-05 at 10:38 +0000, Sobey, Richard A wrote: Quick question: is there a way to make a fileset hidden so it doesn’t appear when browsing the filesystem through a CES SMB export? Could I do something clever with the directory mask? Can you link it somewhere obscure, put the data in, then re-link where you actually want it? Rob -- Robert Horton | Research Data Storage Lead The Institute of Cancer Research | 237 Fulham Road | London | SW3 6JB T +44 (0)20 7153 5350 | E robert.horton@icr.ac.uk<mailto:dugan.witherick@icr.ac.uk> | W www.icr.ac.uk | Twitter @ICR_London Facebook: www.facebook.com/theinstituteofcancerresearch Making the discoveries that defeat cancer The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP. This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.
On Tue, 2017-12-05 at 10:47 +0000, Robert Horton wrote:
On Tue, 2017-12-05 at 10:38 +0000, Sobey, Richard A wrote:
Quick question: is there a way to make a fileset hidden so it doesn’t appear when browsing the filesystem through a CES SMB export? Could I do something clever with the directory mask?
Can you link it somewhere obscure, put the data in, then re-link where you actually want it?
Would not setting the DOS hidden attribute on the directory do the trick? That's assuming the CES SMB is doing everything correctly, no experience with that but if it is that will do the trick. Obviously if a user has Explorer set to view hidden files and folders they will see it. The other option would be to do something like chown root:root /path/to/fileset chmod 700 /path/to/fileset Then from memory Samba won't show it because you don't have permissions to access it. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Don't give them permissions on the fileset and use the smb option: "hideunreadable=yes" https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/com.ibm.spectrum... This enables access based enumeration. Simon ________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Sobey, Richard A [r.sobey@imperial.ac.uk] Sent: 05 December 2017 10:38 To: 'gpfsug-discuss@spectrumscale.org' Subject: ?spam? [gpfsug-discuss] Hidden fileset Quick question: is there a way to make a fileset hidden so it doesn’t appear when browsing the filesystem through a CES SMB export? Could I do something clever with the directory mask? I want to migrate a load of files in but I don’t want the customer to access them prematurely. Thanks Richard
Holy.. why did I not know about that option 😊 Will look into that. And Robert – yes linking it somewhere else is my current option but it just makes TSM back it all up again when it gets linked to the correct path. Next on the agenda is how to exclude certain directories from the backup. Thanks Richard From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Simon Thompson (IT Research Support) Sent: 05 December 2017 11:05 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Hidden fileset Don't give them permissions on the fileset and use the smb option: "hideunreadable=yes" https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/com.ibm.spectrum... This enables access based enumeration. Simon ________________________________ From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Sobey, Richard A [r.sobey@imperial.ac.uk] Sent: 05 December 2017 10:38 To: 'gpfsug-discuss@spectrumscale.org' Subject: ?spam? [gpfsug-discuss] Hidden fileset Quick question: is there a way to make a fileset hidden so it doesn’t appear when browsing the filesystem through a CES SMB export? Could I do something clever with the directory mask? I want to migrate a load of files in but I don’t want the customer to access them prematurely. Thanks Richard
participants (4)
-
Jonathan Buzzard -
Robert Horton -
Simon Thompson (IT Research Support) -
Sobey, Richard A
