General :: Always Create Files/folders But Only Write To Those The User Owns?

Aug 14, 2011

I need 2 Linux users to share a folder. Within this folder, users should always be able to create files and sub-folders and write into any sub-folder (whether they own it or not). However, they should only be able to edit the files they actually own.

View 1 Replies


ADVERTISEMENT

General :: File Permission - User Can Create Files/folders In The Shared Folder

May 4, 2011

Is possible to make a folder permission like below?

-User can create files/folders in the shared folder.

-But the files/folders they created, cannot be delete/change by em.
(only can be delete by root users)

-Each new files/folders created will auto owner to root only.

View 4 Replies View Related

General :: Write A Shell Script Which Will Simultaneously Collect OS User Information And Write In An Individual Text Files?

Feb 17, 2010

I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.

View 8 Replies View Related

General :: Write A Script To Move Specific Files In Various Folders To One Folder?

Nov 16, 2010

Terribly new to Linux and find it mindboggling. I work on brain imaging and unfortunately all of the analysis runs on Linux, and I do not understand computers well coming as I do from a medical background. So my question - There are various folders of patient MRI scans (folders called P1, P2, P3 etc) and within them are enclosed certain files that I am interested in (always called the same name in all folders, say image001). I would like a script that enables me to copy and move this image001 in all these individual folders to another folder altogether.

View 13 Replies View Related

General :: List All Files/folders A User May Delete?

Aug 17, 2010

I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption).What command or script might i use to check this?

View 3 Replies View Related

OpenSUSE Network :: Root User Has Access To Remote Folders/files Of Any User?

Jan 21, 2010

Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).

I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.

View 3 Replies View Related

Ubuntu :: Obtain The User That Owns The Process From /proc/process_id?

May 29, 2010

How can I obtain the user that owns the process from /proc/process_id? Is it the Uid in /proc/process_id/status ? If so why are there 4 values there?

View 2 Replies View Related

Ubuntu :: Save Files And Create Folders In Var/www?

Apr 28, 2010

creating a new website project in the var/www folder. I open jedit and try to save a folder or file inside var/www using jedt and it refuses to let me create or save anythink in the var/www directory.

I have used the terminal to create a new folder and file inside the var/www directory and when i open the file with jedit or gedit and write some code into it it wont save the code either. I am used to just creating a new directory and saving files into it with ease using windows so this is puzzling me a little. I also installed lamp server through the terminal and the phpmyadmin folder installed somewhere different from the var/www file.

View 6 Replies View Related

Ubuntu :: Program Cannot Create Files/folders?

Jul 1, 2011

I am running the new Natty install of Ubuntu. I always seem to have this particular problem, particularly with any ubuntu/kubuntu installs, but not other distros.

Basically, I'm trying to run a program -- a text-based game server. The server needs to be able to create new folders and write and delete files within its own directories in order to work.

However, no matter what I try to set in permissions, the program always spits out errors saying it was denied. I have set the directories so that any user/program can write/delete in them, and it still doesn't work.

View 3 Replies View Related

Debian :: Unable To Create Files And Folders

Feb 19, 2009

I have created a user account on a ubuntu workstation. I log into the terminal as this new user and when i try to create a file i get that permission is denied. I would like to create a file such that this new user and other members of a group can access it.

View 4 Replies View Related

Software :: Create User With Password And Read / Write Privileges For Program Database

Oct 11, 2010

Unless your distro has taken care of it Centos 5.5, you'll need to create a user with a password and read/write privileges for program database. You can do this using the MySQL command line client if you are familiar with it. Well I am not familiar with it, so I wam wondering how to do it. As well when I run

mysql - p program </usr/share/program/mysql.sql>

It asks for a password. how do i find out this password.

View 1 Replies View Related

Debian Multimedia :: Create Files And Folders On Desktop

Sep 24, 2015

I was wondering what the reason was for disabling a feature like - creating new documents and files on desktop - by default?

If someone installs debian with desktop environment this user probably also want to use the desktop as a workplace, so why is that not a default setting?

But also in general i dont get it, i dont see any reason, why this is disabled.

View 14 Replies View Related

Security :: Create A Backup Script For Files / Folders?

Jan 18, 2010

I m going to create a backup script for my files/folders...

This script creates tar.gz of the folders/files you want.

This i want is to encrypt these .tar.gz files and when i need them to decrypt them. Does anyone have an idea on how to encrypt these files ?

my script looks like this :

Code:
BACKUPDATE=$(date +%d%m%Y)
cd /home/n3t
echo "taking Backup of your home/n3t/Downloads dir"
tar -czvf /media/disk/BACKUP/home/Downloads/$BACKUPDATE.tar.gz ./Downloads

View 2 Replies View Related

Fedora Servers :: /var/www/html - Not Allowing To Do Any Changes/create The Files Or Folders

Aug 8, 2011

I m able to do the changes in the home directory of the users' but when it comes to the /var/www/html folder, it's not allowing to do any changes/create the files or folders

I m able to view the files and it's contents

Global Settings:

View 4 Replies View Related

Ubuntu :: Apply User Permissions To Not Just Folders But Also All Files

Jan 19, 2010

I want to add my daughter as a user and give her full permissions to all the same folders and files that I use. I have given her permission to folders and their sub folders however she doesn't have rwx on the individual files within the folders. What is the command line to set this up?

Also with the command;

Code:
chown -R root:root files

what is the -R for and when do I need or not need it?

View 4 Replies View Related

OpenSUSE Hardware :: Pips Epson Driver Can't Create Files Or Folders Even As Root?

Mar 5, 2010

I am trying to install the Epson Stylus SX115 printer/scanner.
I have downloaded the driver since opensuse11.2 couldn't auto install it. I log in as root and execute the installer but it cant create files or folders. Example(dont know how to copy from the pips window):

Install pips-snx110_3.7.0-2_i386.deb. ()
cp: cannot create regular file `/usr/local/EPAva/printer/snx110/uninstall-snx110.sh': No such file or directory
chmod: cannot access `/usr/bla bla bla
bla bla bla bla
Startup ekpd-tool...
installation is complete... (yeah right^^)

View 1 Replies View Related

Ubuntu Security :: Restrict A User From Seeing Hidden Files And Folders?

May 23, 2010

restrict a user from seeing hidden files and folders?

View 8 Replies View Related

Debian :: Default Ownership Of Folders And Files - Should Own By A User Without Root Permissions

Feb 12, 2011

Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?

View 12 Replies View Related

OpenSUSE Hardware :: Cannot Write Files To The Disk As A User

Aug 24, 2011

As a testcase on how encryption works out of the box with OS11.4 I've formatted an external drive with encryption. All goes well and upon boot the passphrase is requested. However I cannot write files to the disk as a user and I can't find the correct mount command in order to get it mounted so that my users can write to it and not only the root.

View 3 Replies View Related

Server :: SSH Chroot'ed User Can't Write Files / Solve It?

May 31, 2011

I am having an issue with a Chrooted SFTP User not being able to write files.

The permissions are setup correctly as if I remove the Chroot the user can write files correctly.

User has a transfer folder which they should be able to write files to and read from, this works correctly until I apply the snippet from sshd_config file below then the user can only read files. I have tried tweaking the permissions but this doesn't seem to have helped at all.code...

View 2 Replies View Related

General :: Write A Shell Script That Allows Only User 1 And User 2 To Execute A Program?

Feb 25, 2010

I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?

View 1 Replies View Related

Debian :: How To Create User Hidden Files

May 30, 2011

I have lately been converting all my Ubuntu installs to Debian. Kind of like a revival meeting. Basically I am wiping the ~/.whatever files from the /home partition and saving any that might be handy later. Save any files from the / partition that I might want something from (/var/cache/apt/archives for packages installed, /usr/share/backgrounds and so forth). The last one I am working on is a little different. It is the first install (successful) install I ever did, Ubuntu 8.04, and it is ext3 on one partition. I did the above things as on the others but it was all on one partition. Fired up my netinstall disk for squeeze and installed on 2 partitions. One new one for / ext4 and the old partition not formatted, mounted as /home on ext3.

Did a base install with only the system utilities added by the taskel business at the end of install (like always). Rebooted to that install. Every thing seems to work at the basic level. My passwords worked, both for the text user login and then the root password when I ran su so that I could purge nfs-common (it has given me problems on every install for some reason). Came back here to my usual Debian testing install, fired up boinc and then the chroot environment for the new convert. Installed gnome-desktop-environment and some other things, all from a list that I have used before in just this manner.

Go back to boot to the new one, every thing rolls fine, get the GDM3 login, enter password. "Can't access ICEauthorization". Have to Ctrl+Alt+b out. Back here I check the /home/tom directory for that install and hit Ctrl+H and there are no hidden files. Run "dpkg-reconfigure -a" to no effect. Try adding my user again and that, of coarse dose not work because the user already exists. One other thing is that if I boot to recovery it does show the message to login or hit Ctrl+D but does not stop with a prompt. Shows a couple other things and stops. Ctrl+Alt+B to get out once and had to unplug once.

View 11 Replies View Related

General :: How To Know Which Logical Volume Owns A File

Jul 14, 2010

Hi. We have a cluster consisting of 10 logical volumes all part of one filesystem. Is there a way to know which logical volume owns a certain file/inode? I have tried what is suggested at this link, but the output is the filesystem and not a specific logical volume.

View 6 Replies View Related

General :: Create User Add File With Default Password And Force User To Change It?

Feb 2, 2010

I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?

View 3 Replies View Related

Ubuntu Security :: Configure The Share And Folder So That The Win7 Client Can Create Files And/or Folders In The Share?

Jan 15, 2010

I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.

View 1 Replies View Related

General :: How To Create Virtual Folders From Saved Search

Jan 14, 2011

I would like to have on unix-like platforms, the same functionality as to Windows 7 Library folders (aka virtual folders) you see in Windows Explorer.Gnome Nautilus do that kind of virtual folders through saved search. But I want a system-wide solution, not a gnome-wide solution.Is there a tool that creates virtual folders from the concatenation of multiple search queries (the result of multiple find commands ?). The solution should index files for better performances and you should be able to define the default folder for copy operations.

View 1 Replies View Related

General :: Bash - Create Folders According To Date In System?

May 26, 2011

Is there any other short/easier and smarter way to do the following in Linux? code...

I need to use crontab to create folders every day and every month inside /home/abcd/dammi, /home/abcd/harrami, /home/wxyz/dammi and /home/wxyz/harrami. Can anyone help me with this?

View 2 Replies View Related

General :: Copy Files And Folder Except Some Files And Folders?

Jun 8, 2010

I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?

View 1 Replies View Related

General :: How To Configure Wine To Share Folders With More Than One User

Sep 24, 2010

I am running Ubuntu 10.04 with current updates. I installed MS Office 2007 suite using WINE - the other users are not comfortable with OpenOffice. There are no issues with the installation, but it is in my user home path so it doesn't appear in the WINE config when I log in as another user. Should I start over with a generic user account and re-install Office/ WINE under that user?

View 2 Replies View Related

General :: Best Way To Allow A User To Write To The /var/www Directory?

Mar 3, 2010

On my laptop for testing, I simply chown each subdir of /var/www to my myuser:www-data. But, now that I am setting up a public facing server, I'm wondering if this is the proper way to do so? If not, what is the best way to allow a non-root account to write to /var/www.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved