1
vote
4answers
121 views

Is there any harm in converting all files to executable?

I wanted to install certain software. The package had lots of files including some shell scripting files. Initially I had to select some files and then make it executable: chmod 777 shellscr1 but ...
0
votes
1answer
86 views

Permissions of files/directories in Unix

It appears that each file/directory has a given set of permissions shown by the 10 characters to the far left of each listing if one were to type into the terminal ls -l Considering that you can ...
8
votes
2answers
164 views

Maintain permissions bits when writing new file with VIM

In Vim, when I write a copy of the current buffer to a new file using :w [filename], it appears that Vim uses the default (i.e. set by umask or whatever) file permissions for the new file. If the ...
1
vote
1answer
49 views

Understanding Unix File Attributes

I've read the Unix man pages on this subject and searched far and wide, but one thing eludes me. What the heck is the meaning of the number between the group owner and date? -rw-r--r--@ 1 Mira ...
2
votes
3answers
2k views

Does file user ownership change when transferring files between computers?

Scenario: A file created under computer A (userA), which takes file ownership as userA in file permissions, is then transferred to computer B with a different user (userB).... Does the ownership of ...
1
vote
0answers
182 views

Retaining usable permissions and ownership copying unix files to NTFS

I have an old solaris system with terabytes of data on it. Recently we got a new server and I went along with the recommendation of a windows server "because it was easy to manage". Someone copied ...
0
votes
2answers
140 views

Permissions … how to make a folder undeleteable?

On FreeNAS (FreeBSD) ... I'm trying to make a folder 'undeleteable'. I logged in as root. I created a folder called test and chmod it to 700 (rwx------). Owner is root, group is wheel. Then I log in ...
1
vote
1answer
368 views

Strange permission changes when saving file on a Samba partition from a Windows editor

I'm trying to figure out why a specific behavior is exibited when perms change on a file being saved from a Windows editor on a SAMBA-mounted Unix partition. Situation: We have a file on Unix, with ...
4
votes
1answer
1k views

Why a command launched with nohup isn't able to write file after user logout?

I'm using nohup to launch matlab and run a script which requires to read and write some given files. nohup matlab -nojvm -nodisplay -r 'MyScript'& This runs smoothly while I'm logged in but as ...
2
votes
3answers
1k views

How do I list the effective file permission in Linux?

i.e: Suppose the directory permission is 700, and the file under the directory is 570 Then the effective permission of the file is 500 Is there such a command that lists the effective permission by ...
-1
votes
1answer
74 views

What does SH stands for in file permission

I am parsing some directory lines using FTP and I am getting an error on this type of file: drwx----SH 1 user group 2048 JUL 27 2012 FOUND.000 Does anyone know what SH mean ? Thanks.
3
votes
2answers
468 views

I don't fully understand CHMOD file permissions, can anyone better explain it?

I've searched the internet for some time for a good explanation of CHMOD, but have yet to come by a good explanation, since every explanation uses the same words with small variations. What I know so ...
1
vote
1answer
418 views

fcgiwrap listening to a unix socket file: how to change file permissions

I have a web server (nginx) and a CGI application (gitweb) that is ran with fcgiwrap to enable Fast CGI access to it. I want the Fast CGI protocol to take place over a unix socket file. To start the ...
5
votes
1answer
600 views

What is the + at the end of Unix permissions in a long listing format?

Here's an example drwxr-xr-x+ 6 reza reza 204 Mar 5 20:23 .ssh/ Although I am the owner of this directory, I cannot modify it without using sudo! Why is that? how can I remove '+' here ...
0
votes
0answers
32 views

What is the '+' at the end of long listing format? [duplicate]

Possible Duplicate: What is the + at the end of Unix permissions in a long listing format? Here's an example drwxr-xr-x+ 6 reza reza 204 Mar 5 20:23 .ssh/ Although I am the ...
1
vote
1answer
486 views

What does directory permission 02777 do?

Found the following PHP code today: mkdir($directory, 02777); chmod($directory, 02777); I understand the PHP, but not first part of those numbers. The 777 part is clear, and if I have understood ...
0
votes
2answers
3k views

Making a directory on unix readable,writeable,executable by me and no one else?

What is the proper way to make a directory that I created and all of its contents readable/writeable/executable only by me, and no one else? Is this sufficient: chmod g-rx mydir/ this should make ...
4
votes
1answer
901 views

How do I sync file permissions (chmod +x) with rsync?

I'm having problems synchronising file permissions with rsync. I'm trying to sync my /home/bin folder with the /home/bin folder on a remote machine. The problem is that when I write a new script and ...
17
votes
1answer
15k views

How do file permissions apply to symlinks?

Let's say you have this structure: + directory -- file1 -- file2 -- file3 -> /tmp/file3 file3 is a link to another file3 somewhere else on the system. Now let's say I chmod 777 the directory ...
5
votes
3answers
2k views

Wwhy do we need execution permission to change a directory in Unix?

Here are the permissions given on the machine: drwxrwxrwx 4 root root 512 May 16 09:32 STC_10 drwxrw-rw- 4 root root 512 May 5 11:22 STC_11 Now here is the Problem: cd ...
0
votes
1answer
534 views

Lock users in a directory

File structure: I have a VPS running Debian OS and would like to create user accounts on it. I want it so that when the user logs in with FTP, everything in var appears to be their home directory ...
0
votes
1answer
841 views

Unix Permissions issue with users belonging to the same group accessing a folder

I have a folder I'd really like to allow another user on this machine access to. I'm using mt-daapd to serve music to the network, so I'd like to enable the mt-daapd user to access my Music directory, ...
0
votes
2answers
249 views

Why does different parameters for umask result in the same file permissions?

I tried changing umask settings for some files as: umask 0012 for file c: -rw-rw-r-- 1 unipro unipro 0 2010-10-15 11:30 c umask 0013 for file d: -rw-rw-r-- 1 unipro unipro 0 2010-10-15 ...
0
votes
1answer
824 views

Owner group of /var/www

If I change the owner of /var/www to ftpgroup sudo chown :ftpgroup /var/www am I going to have other kind of issues ? Or is that ok ?
3
votes
1answer
2k views

Finder: Open folder as another user

I just would like some simple protection of my files, and from my point of view, there's nothing like unix permissions system. Chmoding and chowning folders and files just gives me the flexibility I'm ...