2
votes
1answer
64 views

Allow user to traverse path to given directory

Say, I want to give a user colleague read access to a directory /rather/long/path/to/the/directory, but not necessarily to its parent directories. As explained for example here and there, I first ...
0
votes
0answers
23 views

Solaris - Inheriting by files the user's ownership of directory

I have a directory with ownersip like user:group. I want to make on it something like suid on group, but for user - all of new created files have a directory ownership. For example: drwxrwx--- 2 user ...
1
vote
1answer
25 views

list out owned file/directories and change its permissions

Can anyone please tell how can I change files/directories owned by me only. below is the command that list out files/directories owned by me find . -user <username>
1
vote
1answer
68 views

Is chmod 060/006/066/etc… useful? [closed]

Are there any useful applications of chmod 060, chmod 006 or similar permissions? I wonder, why in chmod UGO, there are no restrictions such as U >= G >= O? Is is just simpler to implement it this ...
0
votes
3answers
75 views

Fix multiple user permissions recursively for one directory

I want to create a ZIP archive of a particular folder, it mainly contains photos copied from various sources gathered over multiple years. Unfortunately, the permissions are messed up. With ls I am ...
0
votes
1answer
82 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 ...
0
votes
0answers
28 views

What permissions should I have on a file to make it available via owncloud and readable to my local user?

Files stored in .../owncloud/data seem to be owned by www-data and in a group of the same name.
1
vote
2answers
75 views

How can I list permissions of every component in a file path?

Sometimes it is necessary to determine on which directory in a path access rights are limited. Here is an example: $ ls /sys/kernel/debug/usb/devices ls: cannot access /sys/kernel/debug/usb/devices: ...
1
vote
0answers
61 views

Directory and segments in Multics operating system

In Multics OS there are different access rights in the access control list for segments (execute, read and write) and directories (status, append and modify)(book). How do segments correspond to ...
0
votes
1answer
131 views

666 permission even after making umask= 0000

I made my umask = 0000. However when I am creating a file it has 666 permission. Although directories get 777 , that's alright. Also my aim is to create file/dir with permissions 774, I guess umask ...
0
votes
1answer
693 views

Why can't I cd into a directory that is owned by a group that I belong to? [duplicate]

In the home folder of the pi user on my Raspbmc distribution, I have the following directories: $ sudo tree . -L 2 . `-- downloads |-- complete `-- incomplete They're owned by the ...
2
votes
2answers
657 views

Understanding homebrew 'no-sudo' philosophy and questioning FAQ

Having fresh install of OS X, I decided to install python package manager in proper way. So I started googling and found homebrew is the best way. Now I got two questions: from homebrew FAQ: ...
0
votes
1answer
116 views

How to prevent users from renaming files while providing write permissions on Linux

For some special purpose, I want to prevent non-root users of the Linux Server from changing the filenames. However, they can modify and write to the contents of the file. How to do this from command ...
1
vote
2answers
2k views

Recursively chown all files that are owned by a specific user

Is it possible to find and chown all files that a specific user owns? I did a bunch of things as the wrong user and need to give the correct user ownership of the files. Is there a recursive and ...
1
vote
1answer
72 views

Changing chmod flags back

I'm fairly new to the whole UNIX / command shell sort of stuff, so I apologize for any ignorance for something I am not aware of. And by new, I mean extremely new. I was confused by how to change a ...
1
vote
2answers
140 views

Convert ls -ld to chmod/chown commands

X home dir permissions: drwxr-xr-x Y home dir permissions: drwxr-x--x So my question is, how can i convert drwxr-x--x to a chmod/chown command so I can put the same permissions that Y has on his home ...
0
votes
1answer
54 views

Unix like file system and directory flag (CPIO)

I cannot understand how to know if the entry is a directory in a CPIO file (which is based on Unix). For example the c_modes of different files in octal : 120644 --> Link --> 1010 000 110 ...
3
votes
3answers
288 views

Can we have a user with the same powers/priviliges as root?

I am confused on the following in linux. Can I have a user to have the same permissions as the root. In Windows any user can be the administrator but I am not clear exactly about this on Linux. It ...
0
votes
1answer
53 views

Defaulting file permissions for any file being kept in a specific folder

I'm Using AIX. I have a folder owned by me. Permissions for the folder are 777. That means anyone can keep their files in this folder. But I want the files to be kept only with 777 permissions. But ...
0
votes
1answer
744 views

`pip install` failing with “Permission denied” in a virtualenv

I'm currently using pip + virtualenv to isolate the Python dependencies in my Django application. It's worked alright so far, and I've been able to install a bunch of packages in the past. But when a ...
1
vote
1answer
98 views

Unix User groups permissions

When I try to run an application I have 'moved' by zippping + unzipping from one host to another it says :This program can only be executed by users in group 1002. Can Anybody please decipher what ...
0
votes
2answers
174 views

What unix permissions do I need?

I have a directory that hangs off root: /data/my/folder/here/ and /data/my/folder/herealso/ I wish all users to be able to write files to the here and herealso directories. But limit (as much as ...
0
votes
3answers
193 views

How to give access to user for specifig directory?

I made symlink when logged in as www (apache user): ln -s /home/anotheruser/test /var/www/test Now I go to my mydomain.com/test and I get a 403 error. /home/anotheruser/ has permissions 764 ...
0
votes
1answer
97 views

Listing unreadable group files in Unix

Is there a way I can list ordinary files that are unreadable by a group in Unix? What would be the necessary code for that? And can I do it without using the find command?
0
votes
1answer
137 views

Dropbox on Linux Mint permissions issue

I have been developing a python package in dropbox. DB seems to be causing a very strange permissions issue. I own and have RW permissions to the directory and all of it's contents. Yet, when I try to ...
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 ...
0
votes
1answer
45 views

Linux user group permissions and virtual development environments

So, I wanted to establish a virtual development environment that would be shared by a few users for collaboration. I created a new user group X denoting the group of users allowed access the virtual ...
0
votes
1answer
93 views

Single “find” command with multiple arguments?

I need to devise a single find command that searches for: All C# or Java programs Located in the home directory of the current user Have at least one hard link Readable for everybody Have at least ...
0
votes
1answer
47 views

unix sytem-access

I have the permissions below for the directory V, created by the owner a. Now, according to the properties, the associated group should also be able to read write and execute in the directory. Does ...
5
votes
7answers
2k views

“chown -R root /” how screwed am I?

I accidentally performed the command chown -R root / while trying to change the permissions to the public folder of my rails app. I believed this changed the permissions to all my folders on the / ...
0
votes
1answer
1k views

Understanding chmod and setfacl

I have a file that I think I should be able to execute. It shows these permissions with ls -lah: -rw-rwxr--+ foo foo-group And these with getfacl myfile: # file: app/console # owner: foo # group: ...
0
votes
2answers
139 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 ...
2
votes
2answers
2k views

Unable to do passwordless login to FreeNAS

I'm trying to use this command to allow me passwordless login to a FreeNAS box: cat ~/.ssh/id_rsa.pub | ssh root@server.com 'cat >> ~/.ssh/authorized_keys' But I get: ...
3
votes
2answers
131 views

Accidentally blocked myself out of my private UNIX directory

I used the following command to see who had permission to my directory. fs la I then wanted to block someone out, so I used the command (and accidentally used my username instead of the person I ...
0
votes
1answer
125 views

What is the difference between the special permission and execution permission

I'm new to unix , i have tried to find the difference between permissions of execute permission and special permissions . For instance , the "su" command has the permissions -rws-r-xr-x Under that ...
2
votes
2answers
1k views

How can I remove other user's sub-directory from my directory? [duplicate]

I have a directory in my home-directory, which I share with a UNIX-group, but now want to delete. If there is a file owned by an other user in this directory, I can remove it with rm, because the ...
0
votes
1answer
34 views

Is there any way to access files belonging to another group?

-r--r----- 1 root scratch 13 Nov 11 15:11 scratch.txt I am a member of a different group (guest). Is there a way to access this file?
1
vote
2answers
171 views

Data permission: what if adding only write permision to a file?

What if a user got only write access to a file? Is he able to read the file or only to "write"? However, if you can write, you can also read, so this doesn't make sense? The question is for Unix-like ...
1
vote
1answer
617 views

755 directory permissions aren't allowing file creation by owning userid?

I had overly permissive directory permissions (777) on my home dir, and just changed these to 755: # cd # pwd /home/machinename/myuserid # ls -ld . drwxr-xr-x 9 myuserid mygroupid 4096 ...
0
votes
1answer
93 views

Recommended permissions for /home

What is a recommended setup for /home permissions? I know about user / group / other, about sgid flag and I know what User Private Groups are. I have read the comment about adduser no longer setting ...
3
votes
2answers
2k views

What does the number after Unix/Linux file permissions like “-rw-rw-r--. 1 ” mean in “ls -l” output

Can any one explain "-rw-rw-r--. 1 " and give some "detailed" information on ls -lart command. Why does the number change after "-rw-rw-r--. 1 " <----
0
votes
1answer
104 views

What permissions does a directory need so that anyone can cd into it but nobody but root can ls in it?

I have seen this before in some directories. Where if you know the name of a file you can open it and edit it, but you cannot ls in the directory so if you don't know the name of the file you can't ...
1
vote
1answer
593 views

folder permissions on FreeBSD

I have a drive on my FreeNas (8.2) box which transmission copies files automatically when it is finished downloading them. It works fine as long as the download is a single file, if it's folder with ...
2
votes
1answer
827 views

Making a program always run as root in OS X

I'm trying to make a C program run always as root, no matter who is calling it. Basically, I want it to invoke "mkdir /test" as an example. So I created the C program as follows: #include ...
0
votes
1answer
177 views

General administrator/deploy user permissions on centos

I'd like a user who is capable of managing the files of other users, but still must run sudo to access those files and functions outside of a /home/directory. Is such a user/group already defined in ...
3
votes
3answers
700 views

What is user/owner 24561?

So, I just installed the node.js package from nodejs.org and I was poking around to see what it installed. Over in /usr/local/bin I saw this owner 24561. I see it in a few other places too. What is ...
0
votes
3answers
1k views

Unix make all files copied into directory owned by me

I am working with a group on a supercomputer and we are storing all project files in my home directory, the problem is if I need to manage some of the files, I can't because they own the files. I need ...
0
votes
1answer
1k views

Linux: why can't I delete files/dirs when my username is in the same group as the files' creator?

I have a headless torrent client (Transmission) which downloads files into /home/username/downloads with the username debian-transmission, in the group debian-transmission. I've added the account ...
1
vote
1answer
225 views

Giving directory access to only certain users?

I currently have the following directory: drwxrwsr-x 4 user1 Group1 4.0K Apr 18 18:29 foo Under Group1 there are 20 users. I want to give user2 and user3 who belong to Group1 access to directory ...
4
votes
2answers
8k views

Linux permissions and owner being preserved with cp

I can't understand the following behavior: I have a file named someFile under /opt/com/internal/someFile If I do ls -all /opt/com/internal/someFile the permissions are 700 user:userGroup I am root ...