LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-26-2020, 03:08 AM   #1
testy8888
Member
 
Registered: Jul 2020
Posts: 38

Rep: Reputation: Disabled
clean up


Hi,
I like to open a simple discussion.

The user has data in /data directory.What files can i delete as system admin in housekeeping process from /data?
I can delete core files and what else?
The user responsability is to keep enough space on /data and only if necessary to asak for more space.right?
 
Old 07-26-2020, 05:07 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,634
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
You can delete whatever files you want if you do it as root. Your user might not be very pleased though!

The best way to stop users hogging space on a server is to set quotas.
 
1 members found this post helpful.
Old 07-26-2020, 06:49 AM   #3
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Just delete anything from /data that you or your users don't want. Simples
 
Old 07-26-2020, 01:00 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,700

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by testy8888 View Post
Hi,
I like to open a simple discussion.

The user has data in /data directory.What files can i delete as system admin in housekeeping process from /data? I can delete core files and what else? The user responsability is to keep enough space on /data and only if necessary to asak for more space.right?
You tell us. We have no idea what's on that /data directory, or if it's important or not. And we don't know about your company policies in regards to system usage, what has to be done to request more, etc.

Bottom line: as an administrator, it is *YOUR* responsibility to keep the system(s) up and available for the user. That involves YOU knowing what the users need, monitoring things, and determining what the best path is. You can't generalize and say "I can ALWAYS delete files of xxx type...", without knowing WHY those files are there to start with. And the only way you know that is to talk with the users.
 
1 members found this post helpful.
Old 07-26-2020, 07:41 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,357
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
This really isn't a computer question. It's a management/supervisory question.

I would suggest that the matter be brought to the supervisor's attention and the staffer be given a deadline to free up X amount of space (or prove that the files are needed) or face the possibility that files will be arbitrarily deleted.

Then follow up on hazel's suggestion to put quotas in place.
 
1 members found this post helpful.
Old 07-26-2020, 09:46 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,243

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Speaking strictly technically? You can delete all of /data whenever you want to.
 
Old 07-27-2020, 03:34 AM   #7
testy8888
Member
 
Registered: Jul 2020
Posts: 38

Original Poster
Rep: Reputation: Disabled
the user responsability is to handle its own data and it is not sys admin responsibility.
 
Old 07-27-2020, 05:35 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by testy8888 View Post
the user responsability is to handle its own data and it is not sys admin responsibility.
You really aren't making yourself very clear - but I think you just answered your own question, no?
If not, clarify. Explain. Elaborate.

edit:
Oh, I see OP marked this SOLVED already - maybe disregard my post, maybe not.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dnf clean all doesn't clean all mrmazda Fedora 3 11-13-2019 05:12 PM
Clean $PATH and clean python install iFunction Linux - General 1 10-12-2016 09:09 AM
How would you clean the screen of a monitor?? CragStar General 58 02-06-2002 08:23 PM
lynx download interrupted...do I need to clean up? 360 Linux - General 3 08-30-2001 11:01 PM
Recieve serial link is not 8-bit clean rdaves@earthlink.net Linux - Networking 5 07-12-2001 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration