Unix/Linux Go Back    

Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Folder Depth in Samba

Windows & DOS: Issues & Discussions

Thread Tools Search this Thread Display Modes
Old Unix and Linux 04-15-2015   -   Original Discussion by Corona688
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 18 January 2018, 3:03 PM EST
Location: Saskatchewan
Posts: 22,574
Thanks: 1,163
Thanked 4,293 Times in 3,961 Posts
Folder Depth in Samba

A few of our users are adept at creating folders like

2015\2015 something\event\2015 event\document\2015

which makes their documents close to impossible to find. Is there any way I can restrict the depth of the folders they are allowed to create?
Sponsored Links
Old Unix and Linux 04-15-2015   -   Original Discussion by Corona688
blackrageous's Unix or Linux Image
blackrageous blackrageous is offline
Registered User
Join Date: Jul 2013
Last Activity: 12 April 2017, 6:26 PM EDT
Location: Austin, Texas
Posts: 540
Thanks: 13
Thanked 111 Times in 108 Posts
Tough one. Only limit close to this I think is path length...number of bytes/chars in path. Can you use something like locate (if this is linux) to cache filenames so that you can quickly find them?

Of course the guy in this link (Bastard Operator From Hell Official Archive) would write a script to test the users depth and just delete the files.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Under /etc/init.d directory there is no folder with name samba in Solaris 10 rehantayyab82 Solaris 4 11-07-2012 05:11 AM
SAMBA & Public Folder behradb Red Hat 0 04-01-2009 05:00 PM
mq queue depth Satyak Shell Programming and Scripting 0 02-13-2008 05:28 AM
Command to list samba shared folder in linux bache_gowda UNIX for Dummies Questions & Answers 0 04-27-2005 09:05 AM

All times are GMT -4. The time now is 09:07 PM.