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


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-15-2015
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 22 February 2017, 5:48 PM EST
Location: Saskatchewan
Posts: 21,928
Thanks: 1,050
Thanked 4,095 Times in 3,794 Posts
Folder Depth in Samba

A few of our users are adept at creating folders like
Code:
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
    #2  
Old Unix and Linux 04-15-2015
blackrageous's Unix or Linux Image
blackrageous blackrageous is offline
Registered User
 
Join Date: Jul 2013
Last Activity: 15 November 2016, 1:26 PM EST
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
Closed

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 05:39 AM.