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


ADVERTISEMENT

General :: File Permission And Shared Folder In Virtualbox

Feb 6, 2011

I have virtualbox installed, and arch set up as the guest OS now i have made my home folder shared folder with the guest OS but at first my arch couldnt read my home folder.i realized the permission setting for the home folder is set as rwx to myself, and nothing to everyone else.so i chmod -R 755 to everything and that seemed to have solved the problem now i want to make my home folder readonly to my guest OS. do i just do chmod -R 744 to my home folder? i already messed up something when i set 644 to everything in my home folder, as my dropbox stopped working so im afraid of something like that happening to me again, otherwise i d love to experiment

another question is, are .so files supposed to be executable? I googled it, and it seems they dont have to be.But my dropbox stopped working after the .so files in /home/myhomefolder/.dropbox got assigned 644 D:

View 2 Replies View Related

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 View Related

Ubuntu Networking :: User Can't Append To Files In Samba Shared Folder

Jun 18, 2010

I'm setting up a network between 2 pc's where the one should act like "file server" and a normal pc to surf on internet.called ORLA-DESKTOP and the other pc is called OLGA-DESKTOP a pc connecting to the server and automounting the shared folder to the desktop Both pc's run ubuntu 10.04 Lucid Lynx The shared folder is located on the server in /home/orla/svenson

ORLA-DESKTOP have 2 users "olga" and "orla" in a group called "svenson"
OLGA-DESKTOP have 1 registered user "olga" also in group called "svenson"

users on ORLA-DESKTOP can read/write/append and so on and fully manage everything in the shared folder.But on OLGA-DESKTOP the user can make a file on the pc and then drag'n'drop the file the the shared folder, and can also delete files in the shared folder. but cannot create a file directly into the folder like on ORLA-DESKTOP I have 3 configuration files made. 2 for automounting, Located on OLGA-DESKTOP 1 for samba server configurations located on the server ORLA-DESKTOP

The first one is /etc/fstab

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[code]....

To sum it all up the real problem is that OLGA-DESKTOP can't append to files in the shared folder. but users on the server have no troubles doing it..

View 6 Replies View Related

General :: Script To Backup Up Shared Folder Home Folders

May 11, 2009

I am using rhel5 running as samba PDC.Most of the user save their data on a common folder on the server.Now I want to backup this data to some other location to have redundancy.It could be external USB HDD or other folder on the same server.How to create backup script and automate it using cron.

View 1 Replies View Related

General :: Permission Denied When Accessing VirtualBox Shared Folder When Member Of The Vboxsf Group

Jul 7, 2011

I'm running Ubuntu 11.04 (guest) on Windows 7 (host) with the guest additions installed. I have an auto-mount folder that maps to my D: drive on the host which I can access using sudo ls /media/sf_D_DRIVE - however, even when my user (ross) is a member of the vboxsf group I get a permission denied error when attempting to explore it. I have restarted since adding my user to the vboxsf group.

This should work because I am a member of the group (which has rwx rights), so why doesn't it?

ross@panther:~$ ls -l /media
total 8
drwxrwx--- 1 root vboxsf 8192 2011-07-03 22:24 sf_D_DRIVE
ross@panther:~$ ls -l /media/sf_D_DRIVE/
ls: cannot open directory /media/sf_D_DRIVE/: Permission denied

[Code].....

View 1 Replies View Related

General :: List Folder Size And Number Of Files And Folders In Folder?

Nov 23, 2010

In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.

View 3 Replies View Related

General :: Virtualbox - Can't Create Directories In Virtual Box Shared Folder?

Jul 28, 2011

I'm mounting a shared folder in an arch linux guest on a windows 7 host in Virtual Box. The shared folder's filesystem is ext3 and is mounted in windows 7 with Ext2Fsd. I mount the shared folder at boot with this fstab:

D_DRIVE /home/tony vboxsf rw,gid=1000,uid=1000,auto 0 0

I believe my user in the guest OS has the right uid and gid:

[tony@kiwi ~]$ id uid=1000(tony) gid=1000(tony) groups=1000(tony),1002,(vboxsf)

I can create files and remove them fine, but I can't seem to create directories.

[tony@kiwi ~]$ mkdir foo mkdir: cannot create directory `foo': Protocol error

Its weird because the directory looks like its there, sort of.

[Code]...

View 1 Replies View Related

General :: Can't Create The Folder Directory - Permission Denied

Jan 18, 2010

I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".

View 11 Replies View Related

General :: Samba Folder Permission With AD User

Jan 16, 2011

i have the one help. i will creata one samba server.access this samba file windows system. also domain user access this samba folder. but problem is how can set permissions AD User( Windows 2008 Server).

View 2 Replies View Related

General :: Set 775 Permission For All Newly Created Files And Folders

Sep 30, 2010

i am facing a problem regarding permissions. how can i set 775 permission for all newly created files and folders. when i give chmod -R 775 /data permission is getting to all files and folders. but when i create a folder i wont get that permission. i want this 755 permission should be permanent for all old and newly create files

View 7 Replies View Related

General :: Get Full Permission To All Files And Folders In Ubuntu?

May 2, 2011

I am basically Linux/Ubuntu illiterate.(just in case the question itself did not make that clear)

View 14 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 :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

Networking :: Samba On F13 - No Permission To Access Shared Folder

Aug 29, 2010

I have a Linux Box running Fedora 13, it has Samba installed, and I have configured it, I also have a Windoze 7 PC, I want to be able to access the Windoze PC's files from my Linux Box, and vice versa, but when I try to open the Windoze PC in the network on my Linux Box, it asks for my Username and Password, I enter them, the box goes away then pops back up asking for them again... and on the Windoze PC, I find my Linux on the network, open it, it asks for my username and password, I enter them, and it lets me in, but then when I try opening my shared folder, it gives me: "You do not have permission to access \LINUX Shared Folder. Contact your network administrator to request access".

View 1 Replies View Related

Networking :: No Permission To See The Contents In The Mounted Shared Folder?

Jun 22, 2010

I'm using fedora8.When i mount shared folder on windows,it was mounting and i can browse the files and directories in terminal as i have full permissions on that.But,when i open the mounted directory in GNOME Environment,it was saying you did not have permissions to see the contents,every directory and file has been locked.

View 4 Replies View Related

General :: Share A Folder In Samba With No Need Of User Password With Write Permission?

Jun 13, 2011

I would like to know how can I share a folder in samba with no need of user and password with write permission, with no need of using guest user.

View 3 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

Fedora Networking :: Create Shared Folders And Stream To Other Pc's

Jun 5, 2011

network with a laptop with windows 7, a wireless all-in-one dcp-585cw, eminent em7075-dts.
it's possible to create shared folders in windows, in order to make them accesble for other pc's, devices, such as the eminent em7075-dts multimedia player.

when i start windows mediaplayer ( a requirement), i can browse over my pc when i am on the interface of the em7075 ( what you see on tv when go to the hdmi channell.) in other words, i have the option to play / stream a movie from my pc, over the network to the em7075.

View 2 Replies View Related

Ubuntu :: Copy User Settings / Folders From One User Home Folder To Another?

Jan 10, 2010

I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried

Code:

sudo cp -nRv /home/user1/* /home/user2
but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.

im talking about the .adobe, .amsn ..........

How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.

View 4 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

Ubuntu :: How To Create A Shared Folder

Sep 16, 2010

I have set up Ubuntu 10.04 with a data partition mounted as /share that I would like to make available to all users. I have only managed to do this so far by using chmod and chown, can I flag the folder so that all users can read and write from it automatically? I'm looking for something a bit like "Ignore Ownership" on a Mac.

View 3 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

Ubuntu :: Create A Shared Folder Using Terminal?

Mar 19, 2010

I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.

View 3 Replies View Related

Ubuntu :: How To Get Permission To Create Folder

Apr 8, 2011

I cannot create folder or open some of the files in var/www. What to do so that I can create folder, read and write and execute files.

View 6 Replies View Related

General :: Ubuntu Server - Set File Permissions For VirtualBox Shared Folder?

Jul 30, 2011

I have Ubuntu server with Apache 2, PHP, and various DBMSs running in VirtualBox on my Mac host for my web development work. To easily create/edit the files I'm working on, I mounted a directory from my Mac host via the VirtualBox shared directory feature to /var/www/. Every file I create on my Mac host has the following permissions on the on the Server: -rw-r--r-- 1 root root 6 2011-07-30 01:27 test.The problem is that most PHPscripts/frameworks/etc.need write access to some files.It is extremely annoying to have to chmod every new file/directory that needs write access.Is there a way to set the correct permissions for the files/directories automatically?

View 2 Replies View Related

Ubuntu :: Hide Folders Or Files Without Adding Period "." To Rename File Or Folder

Jun 18, 2011

I am trying to hide some folders in Ubuntu Linux which are always hidden in Windows through File/Folder Attributes (attrib -h)

It is not an option for me to rename the folder from let's say "Ancient texts directory" to ".Ancient Texts Directory" because the programs associated with these files and shortcuts will not work in Windows. I would like to make the folder hidden by not renaming the folder. Is that so hard to ask?

Is there really no other way of making a folder or a file hidden in Linux just like in Windows by Applying Attributes? I Don't want to rename it by putting a dot in front of it. Moreover renaming a file by putting a dot in front of the name changes the position the folder appears in the list view. For some people this may be ridiculous, but for me with a few hundred files and folders and subfolders, this organisation is important, aside from the aforementioned reasons.

I need to maintain compatibility between the two operating systems' basic folder structure as i must use both Operating systems.

View 9 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 :: Create Folders Outside The Root Folder?

May 13, 2011

i'm workin on QEMU for ARM on ubuntu 11.4 and i needed to run this symbian-qemu-0.9.1-12-arm-none-symbianelf.sh script which is in this link [URL]

but i get this error ..
mkdir: cannot create directory `/scratch': Permission denied

is there any way to work around it and be able to create folders outside the root folder ??

View 9 Replies View Related







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