Security :: Samba Changes File Ownership When File Is Saved

Apr 8, 2010

I have a Samba share set up on a SUSE server and users connect to the share via Windows XP workstations. On SUSE, if I create a file and grant ownership to "administrator" and give it 770 permissions for example, when someone goes in to modify that file, they become the owner as soon as they save it, and the permissions change to 470 (r--rwx---+) with an access control list. I want to maintain ownership of the file myself and I don't understand why someone changing the file is changing the permissions on it...This is driving me insane because every time someone saves something I have to go in and chmod 770 it before they can save it again.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Shared File Changes Ownership When Saved?

Aug 1, 2011

I've created a share using Nautilus on an Ubuntu 11.04 machine and can access it OK from both my Win 7 pc and partner's WinXP machine. We both have Ubuntu accounts and use those to access the share. When an Excel spreadsheet is saved on the WinXP machine the ownership changes and it can then only be opened read-only on the Win7 machine. A further complication could be that the Win7 machine has OpenOffice and the WinXP has MS Office. I'm guessing that XP + Office doesn't really care about or see the permissions, but Win7 + OpenOffice does. Should I be using the share with the same username from both PCs? Is my whole approach misguided?

View 1 Replies View Related

General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It

Mar 10, 2011

I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

I try cd Desktop says that there is no such directory.

I tried /home/me/Desktop same thing.

View 5 Replies View Related

General :: Convert An HTML Email Saved As A Text File To A PDF File From The Command Line?

Aug 23, 2011

I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.

Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?

View 1 Replies View Related

Ubuntu :: Way To Change Ownership Of File

Jul 7, 2010

I need to install a script into my Gimp folder which is owned by root. I tried "chown my name usr/ share/ gimp2.0/scripts" in terminal, but it tells me folder does not exist. I know I'm missing something, but I haven't done this in a while, so I'm not sure what it is.

View 2 Replies View Related

Programming :: Changing Ownership Of File

Aug 4, 2010

I am running a shell script as the user "redhatuser01" and this script creates a files in the home directory of another user "redhatuser02" (/home/redhatuser02/sample.txt) but the ownership of this file is currently "redhatuser01". How can i change the "ownership of this file to the user "redhatuser02"? (My constraint is that I cannot sudo as redhatuser2 and create the file).

View 5 Replies View Related

Ubuntu :: Changing File And Ownership Permissions?

Jan 1, 2011

I installed Ubuntu from the alternate cd a few days ago to save space and resources on a very old laptop. (install command line, then add what I wanted) But I have struck an interesting problem with file permissions. Various programs like synaptic, leafpad, pcman, Banshee, all require I enter the root password to execute them (or sudo command from terminal). I want to change synaptic from root ownership to sudo and leafpad etc to execute without using the sudo command in terminal. I could get comments on the commands before I execute them in terminal and if I am introducing a security problem, as I am still learning bash. $ sudo chown sudo:sudo synaptic

I would still be asked for my sudo password before being able to open synaptic? As in standard Ubuntu instead of root password.$ sudo chmod 777 leafpad pcman Banshee All users could open these programs from the menu? I have my admin account and a general account which I use for everyday things like surfing the net and listening to music.

View 6 Replies View Related

Ubuntu :: Rsync Not Maintaining File Ownership?

May 16, 2011

I have an Ubuntu machine running NFS4 server and a plugapps (arch linux) machine connecting as the client. The plugbox is running an rsync job to backup the home directory from Ubuntu to a local USB HDD.

All of the files in the destination have owner nobody and group nobody.

Ubuntu /etc/exports:

Code:
/home 192.168.2.1/24(rw,sync,no_subtree_check,no_root_squash)
plugbox /etc/fstab

[Code].....

how I can mantain the file owners. I have the UID's and passwords sync'd between the two machines for both root and the user who's home dir is being backed up.

View 9 Replies View Related

General :: Root To Change The Ownership Of A File?

Jun 17, 2011

Why would I need to be root to change the ownership of a file? Example: I'm logged in as dwadmin and I've created a file:

-rw-rw---- 1 dwadmin dgw 0 Jun 17 07:46 testing.txt

I want to change the ownership to another user, but am getting the following error: chown 511 testing.txt chown: changing ownership of `testing.txt': Operation not permitted

View 5 Replies View Related

General :: File Permissions And Ownership Getting Screwed Up

Sep 15, 2010

Is it possible to let users create the directory or files but only user "yat" can delete them.suppose other users are geller ross joe from group FH , who have privileges. whenever these users create file or dir , they should not able delete it.BottomLine: Group users should create file but should not be able to delete them.By the way using sgid bit didnt help .

View 14 Replies View Related

General :: Changing File And Folder Ownership From Root?

Oct 11, 2010

I created a folder structure as root and now need to transfer ownership to an ordinary user.

This question is linked to this one - [URL]

I have a folder /srv/app-share that needs to be visible/writeable to user1

I tried (as root):

root@server [/]# chown -R user1:user1 /srv/

But that did not work.

View 1 Replies View Related

Ubuntu :: File Permissions / Ownership - Even Root Cannot Change

Aug 30, 2010

I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.

Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls

The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?

View 2 Replies View Related

Ubuntu :: File Ownership Changed - How To Revert Back

Jul 6, 2011

It seems I had some kind of intrusion and I found 6 files changed its ownership to user 1035 and group 1035, I don't know how but I need to change them back to its original owner (root) because one of them is the ls command and the other is the ifconfig how can I revert them to its original state? I cant do it with chown.

View 3 Replies View Related

General :: Changing Ownership Of 'file Name' : Operation Not Permitted

Oct 14, 2010

I`ve been given a project to design a program that will interface with a hardware device through the parallel port.And so far it`s not going go. I managed to write the programe an compiled it, but when runing it the compiler says: 'changing ownership of'and then the file name then it continues to say, 'operation not permitted'.

View 9 Replies View Related

OpenSUSE :: Recover A File That's Been Saved Over?

Jun 8, 2011

I've spent the day developing a JavaScript file when my computer battery went flat and turned off. On reboot I'm shocked to see the file is completely blank. Is there any possible way to recover that file? Firefox cache or anything?

View 6 Replies View Related

Fedora Servers :: How To Preverse Ownership Of File Copy From NFS Mount

Sep 17, 2010

I export a folder via NFS service.I able to mount this NFS share in another Linux machine.The folder has many files.The ownership of these files aren't belong to single user. There are more than 10 different users' files in the folder.I am trying to migrate all these files to another folder. When I use "cp -a", the new files' ownership are all reset to the logon user.

Both NFS server and client machine has exactly same copy of users/groups as these 2 machines refer to same LDAP directory service. When use "ls -al" to list the NFS share in client, I can see the files ownership is exactly the same as the NFS server.Is that possible to preserve the ownership of files while doing such migration? The "cp -a" fail to deliver the job.

View 3 Replies View Related

Ubuntu Servers :: Cannot Change File Ownership On NTFS Drive?

May 25, 2011

process of migrating my server to Ubuntu Server 11.04 after my Server 2003 installation suffered a HDD failure. All my data is on an NTFS drive (not ideal but not much I can do about that). I can currently only read the disk as a user. root has ownership of everything on the disk. Whenever I try and change ownership of a file it doesn't bring up any errors but when running ls -l it shows that nothing has actually changed.

View 2 Replies View Related

Ubuntu Installation :: New Address File Is Not Saved

Feb 15, 2010

I have recently switched email pop3 client to Sylpheed. I need to import a large address book.When using the feature "Import comma delimited File", Sylpheed seems to carry out the operation and then crashes, closing.The new address file is not saved.

I see that this is a known bug in this version of Sylpheed, so I tried to install a later version.The latest version in the repository is 2.4.8-2, but versions exist upto 2.7.1.I tried to install this from the tar.gz file, but could find no effective instructions and no easy way to do this. Part of the problem seems to be that later Sylpheeds are written for versions of Ubuntu later than 8.04.So which way do I jump? Try to fix the 2.4.8 version? Or try to find a way to install 2.7.1?

View 1 Replies View Related

Ubuntu :: Log File That Can Be Saved To Hhd With Memtest Results

Mar 23, 2011

I am running memtest due to memory issues, I am wondering if their is a log file that can be saved to the hhd with the memtest results, I am running memtest from the grub menu.I am running ubuntu 10.10

View 1 Replies View Related

General :: Iptables Never Saved And Boot File

Feb 7, 2010

The last few times I had to restart my server, my iptables file was never saved and I had to load it from the backup. I always issue /etc/init.d/iptables save after any changes but for some reason it loads the default iptables file that came with the server.Any ideas on what to change?I would also like to use a default boot file that starts or restarts services like squid, nscd, postfix, iptables, etc - where can I edit that?

View 3 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

Server :: Unable To Open New Log File /var/log/samba/xxx.xxx.xxx.xxx. No Such File Or Directory

Mar 8, 2010

CentOS 5.x with AD authentication. My samba servers(3) are all reporting the same error:

Quote:

Unable to open new log file /var/log/samba/xxx.xxx.xxx.xxx. No such file or directory.
lib/debug.c:reopen_logs(625)

The xxx.xxx.xxx.xxx is the ip address of the station accessing the samba share I assume.

View 4 Replies View Related

Ubuntu :: Open Windows Folder Saved As .tar File?

Feb 15, 2011

Via empathy a friend sent me a windows folder containing jpg files. I suppose he just drag and dropped the folder into the messenger window in Win7 and sent it to me that way. I accepted and saved on the desktop. Empathy turned the folder into a .tar file. When I try to open the tar file I get the following error:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

Not surprising as it is indeed not a real tar archive. When I check to see which filetype it is with the file command it says -data. I've tried multiple versions of mount commands with various filetypes but I just can't seem to open this thing. How can I open this folder saved as .tar?

View 4 Replies View Related

Ubuntu :: Nvidia Beta Driver: Resolution Cannot Be Saved In Xorg File

Jan 31, 2011

I am using 10.10 64bit with a Nvidia GeForce Graphic Card on my Acer 5741G 434 Notebook.

I have always used Compiz and without it I can barely use my Notebook. Apparently I had to install the Nvidia accelerated 3d Drivers (current version) in order to use Compiz.

However I cannot enable the "normal" visual effects (right click on desktop / change bakcground/ visual effects) that are necessary for using compiz.

Also everytime I reboot my resolution goes back to 800x600 although I saved the resolution to 1366. So everytime I start my Notebook I have to go to the Nvidia X server settings and set the resolution to 1366.

What I tried until now:

- I tried to reinstall Ubuntu twice!

- I tried to unistall all nvidia Drivers and install through the terminal using the command "sh" the nvidia drivers i downloaded from their website

- I tried to use the nouveau open source driver

Additional Information:

- when I boot a logo of the nvidia BETA driver appears

- for the past couple days I even experienced another problem: the windows do not have the minimize/close and maximize buttons

I am even willing to install the System again!

I had nothing but problems with the latest 10.10 ubuntu distribiution.

View 9 Replies View Related

Software :: Alternative To Audacity Decided Not To Be Able To Open The File It Saved 5 Hours Ago?

Feb 22, 2011

I have used audacity occasionally since... well, since ever. I grew annoyed by a very uncommon way to do the things, and for the occasional bug of the day (varying the bug depending on the concrete day, that is).

After I awoke in the morning to continue the editing, it seems that audacity decided not to be able to open the file it saved 5 hours ago (not much time to sleep, you see). I am looking for a piece of software that can do basic wave editing. I really don't need jack, ardour, rosegarden nor anything like that. I only do wave editing, and as said very occasionally.

So, is there any other wave editor that I can use instead of audacity? I don't even need it to be able to open the audacity .aup files. I will re-do the work if needed.

View 7 Replies View Related

Ubuntu :: Import Emails Saved In A File With Tab Spaced Values From Outlook

Sep 30, 2009

I have been trying to import e-mails saved in a file with tab spaced values from outlook. When I import the files into evolution it puts them in my address book. I have tried several times and haven't seen any options to change. in the "wizard" it asks me where i want to put the files, but there is only one option.

View 1 Replies View Related

Ubuntu Security :: Can't Install Firmware File Into File System - Not Accessable?

Jul 11, 2010

I'm only just starting out with the Linux ubunto 10.04 OS after yeas of wasted time on Microsoft os's,I hope I'm posting this request for help in the right forum thread, if not please accept my apologies, I have tried searching everywhere for help in installing a firmware file into the File System / lib / firmware directory and each time I get an access denied result. The file is for a DVB board and I have managed to track down the right Linux fw file for this particular piece of equipment, Could some kind helpful person either explain how to get this firmware file into the Root System directory or even send a link to another site that deals with this sort of problemI've downloaded all the programs via the Ubuntu Software Center that should be able to perform this task however all to no avail.The reason why I posted this thread in this forum board is that it (in my own personal opinion which may be wrong) seems to me to be a security problem

View 1 Replies View Related

Security :: Detect File Deletion On An Operating System And Trace The File History Or Activity?

Oct 19, 2010

i am investigating on solutions to trace a file deletion on a computer( Linux O/S).i also need to determine weither after a file deletion or download on a computer, the computer clock had not been modified. In case a file has been downloaded on a computer and then transferred to a removable device, i need to find out the file activity. i mean i should be able to tell that the file was downloaded and transferred to a device with possible specifications.

View 2 Replies View Related

Fedora Servers :: Postfix - Something Changed In The Versions And It No Longer Works When Saved Main.cf File

Jun 22, 2009

I upgraded from Fedora 10 to Fedora 11, and it seems that when I saved my main.cf file, something changed in the versions and it no longer works. I've tried going through the file and tweaking it, but it's not working. Here is the postconf

[Code]...

View 7 Replies View Related







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