Could anyone tell me how or point me in the right direction on how to save files from a 2000box to a OSX server with the correct file permissions. File goes over and the only person that has r/w permissions is the owner everyone else is read only. HELP!!! (2 Replies)
Hi,
I have a mail server with limited space and operating system is sun solaris 8 (sparc). I do not have provisions to increase the space for home directory.
So i have to delete files from /home/username/mail/trash which are more than 10 days old automatically.
So my script should be like... (1 Reply)
I've got this problem. My computers and external hard drives are converting many of my files to a Unix Executable File which has a grey terminal looking icon. I don't understand what is causing this to happen. It is happening to a large number of my image file of different formats and also... (1 Reply)
Hi all i hope someone can help me,
in gnome if you right click on trash, you get another menu appear 'Empty Trash'
what i want to do is be able to edit this command so that it secure deletes the trash, where is that command? so i can edit it. thanks in advance for any help,
Dave
(shred -z -u ) (0 Replies)
Hello,
I deleted a file accidentally using rm-f inside a folder. Is there any option/command to retrive the file or is it possible to recover from trash? or once the file is deleted, it is gone completely?? (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
A set of Linux shell scripts is required to allow users to ‘remove' files without them really disappearing... (1 Reply)
Hello
I have a Perl script that works on non-darwin Mac OS X environments and I think I have narrowed down the issue to a file locking problem.
In other linux environments, the flock struct is defined differently. I have adjusted this via the reference for Mac OS X fcntl(2) man page. The... (4 Replies)
Hi there,
I am using the xfce4 is already the newest version (4.12.5).
thunar is already the newest version (1.8.4-1).
The distribution is Linux kali 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64 GNU/Linux
However, the problem is:
When I when I click on any program to... (2 Replies)
Discussion started by: alvinoo
2 Replies
LEARN ABOUT DEBIAN
explain_unlink_or_die
explain_unlink_or_die(3) Library Functions Manual explain_unlink_or_die(3)NAME
explain_unlink_or_die - delete a file and report errors
SYNOPSIS
#include <libexplain/unlink.h>
void explain_unlink_or_die(const char *pathname);
DESCRIPTION
The explain_unlink_or_die function is used to call the unlink(2) system call. On failure an explanation will be printed to stderr,
obtained from explain_unlink(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_unlink_or_die(pathname);
pathname
The pathname, exactly as to be passed to the unlink(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO unlink(2)
delete a name and possibly the file it refers to
explain_unlink(3)
explain unlink(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_unlink_or_die(3)