I copied from other post when I first could not run anything from that mounted disk. With permissions 0 0 everything was changed belongs to root with permission 777, which is worse than the previous permission setting (forgot what it was!), and this annoying when I browse the folders. I want to get it back to original setting.
After I changed with your settings, it is the same. I can't even change the permissions under root.
did not give any error, though.
Hi!! Experts,
Is there any way to find the timestamp when the permission of a file was modified?? I mean no change to file contents.. Just the chnage of permissions.
:) (1 Reply)
I have a script that backs up our storage drive daily to one external drive and weekly to another. What I'd like to do is find a way, in the script, to test whether the drives are mounted so that it doesn't accidentally fill up the main drive in the event of a drive failure, etc. Any ideas on how... (1 Reply)
Hello,
I have the following problem. I made a directory /mnt/appserv and
mounted it on a windows server. The line in /etc/fstab to do this is the following :
winoracle:/environments10g /mnt/appserv cifs defaults 0 0
I have mounted this dir as root-user.
The rights on the directory are... (1 Reply)
I am creating a file using the UTL_FILE command of oracle. This creates a file with the oracle user id. The file does not have permission for being read by any other user id. Is there a way that I can change this default permission. I tried using umask in the .login. Setting the umask to 022 works... (2 Replies)
Guy's
we are in AIX 5.3
We have created two users user1 and user2 and they are under same group Staff Group
user1 will create file under /tmp/ and this is the permission of this file
-rw-r--r-- 1 user1 staff 1 Jun 13 09:47 file
user2 is under same group and when he... (14 Replies)
I have a requirement to copy the changed file on CIFS share mounted on Red Hat Linux to a remote FTP/SFTP server.
I tried inotify-tools, but this didn't track the modified files.
Has anyone tried incron or any other suggestion? (1 Reply)
Guys, I need help.
I need to change the .txt file permission after I have reset the file content to 0.
The code that reset the file content to 0 is as follows:
#!/bin/sh
for i in /root/script/*.txt
do
echo "0" > $i
done
However, the file is generated by the apache application,... (3 Replies)
Hi,
A file is transferred from a Windows server(say username : user1) to Unix server via ftp.
In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod.
Is there... (5 Replies)
Hi,
this is the structure of the directory
/local/home/app/cases
under cases directory, below are the sub directories and each directory has files.
/local/home/app/cases/1
/local/home/app/cases/2
/local/home/app/cases/3
/local/home/app/cases/4
File types are .txt .sh and so... (5 Replies)
Hello,
I am looking for a UNIX shell script which can help me for access restriction.
1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user.
like as below
ls -lrt *.txt
-rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt
-rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
8 Replies
LEARN ABOUT CENTOS
systemd-fstab-generator
SYSTEMD-FSTAB-GENERATOR(8) systemd-fstab-generator SYSTEMD-FSTAB-GENERATOR(8)NAME
systemd-fstab-generator - Unit generator for /etc/fstab
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-fstab-generator
DESCRIPTION
systemd-fstab-generator is a generator that translates /etc/fstab (see fstab(5) for details) into native systemd units early at boot and
when configuration of the system manager is reloaded. This will instantiate mount and swap units as necessary.
The <term>passno</term> field is treated like a simlpe boolean, and the ordering information is discarded. However, the root filesystem is
checked before all the other filesystems.
See systemd.mount(5) and systemd.swap(5) for more information about special /etc/fstab mount options this generator understands.
systemd-fstab-generator implements the generator specification[1].
KERNEL COMMAND LINE
systemd-fstab-generator understands the following kernel command line parameters:
fstab=, rd.fstab=
Takes a boolean argument. Defaults to "yes". If "no", causes the generator to ignore any mounts or swaps configured in /etc/fstab.
rd.fstab= is honored only by initial RAM disk (initrd) while fstab= is honored by both the main system and the initrd.
SEE ALSO systemd(1), fstab(5), systemd.mount(5), systemd.swap(5), systemd-cryptsetup-generator(8)NOTES
1. generator specification
http://www.freedesktop.org/wiki/Software/systemd/Generators
systemd 208SYSTEMD-FSTAB-GENERATOR(8)