The windows drives are mounted at boot-time using pysdm. The setting were
nls=iso8859-1,users,umask=002,sync,user,dirsync,uid=mtk
When I try to change the permission of files using chmod, I don't see any update in the permissions. Chmod quietly returns the prompt. Also the permission of created files must have been 755 instead of 775.
Hi folks; I would like to set the umask for a specific user different to all other users. I need this to apply to all files created by the user, no matter how - i.e. not only through a shell login. Is there any suitable way to do this? TIA for any help.
Hi guys I have set up a small shared hosting set up for friends.
I have set the file chmod permissions to
chmod 711 /home
chmod 711 /home/testuser
chmod 755 /home/testuser/public_html
chmod o+r /home/testuser/public_html/index.htm
How do I stop the user connected to their own ftp from deleting the html.htm file and also with the public dir set to chmod 755 I find they can't do anything in the di
I am on Ubuntu 11.04.
I'm creating directories and changing the permissions of them in perl with the following code:
umask 0000;
mkdir $path, 0770;
chown $userid, $groupid, $path;
Now when I do ls -l on a directory I've just created, they are as follows:
drwxrws--- 2 user group 4096 Nov 3 15:34 test1
I notice for the group permissions, there's an s instead of x.
Even if I chmod manually to remove all permission
I have recently installed Raspbian into a Raspberry Pi. As part of the installation process I changed the user name and group from the default (pi) to my own (let's call it user) using usermod and groupmod. I also moved the home directory (/home/pi) to the new user name (/home/user) using usermod.
#!/bin/bash
MasterDir="/home/darkeve/Documents/OS/master/"
USERHOME="/home/darkeve/Documents/OS/UNIX"
MasterFile="filenames.txt"
while read -r line; do
mkdir "UNIX/$line"
for FILENAME in `cat $MasterFile`
do
cp "$MasterDir/$FILENAME" $USERHOME/$line
done
done < usernames.lnk
chown $USER:$USER $USERHOME/$USER -R
CHMDO 700 $USERHOME/$USER -R
I am trying to set CHMOD 700 permis
hi need modify umask in my home, i need that all user when create a directory, this directory should have the follow permission:770 i have this code:START-------------... [by oscarenzo]
Hi
I see that I can use umask to set the default permissions on files created by a script like so -
Code:
umask u=rwx,g=rwx,o=
So that would grant rwx to the user and group.