General :: Run Scp S Copying To Ubuntu System With Correct Permissions?

Feb 4, 2010

I ssh into a ubuntu box with username "ubuntu" and I can become root without entering a password via "sudo su". How can I scp files onto this box using the ubuntu@ username? It does not allow me to do so using root@. The error is:scp: /etc/: Permission denied.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Permissions For Rsync And BackinTime - Setup 2nd HD With Correct Permissions?

May 31, 2011

Problem: permissions for rsync and BackinTime. Setup: Ubuntu 11.04, Two internal HD, #1=main, single boot, #2=backup drive. Question: How do I set up my 2nd HD with correct permissions? Background: I had previously a dual boot XP+10.04 with a 2nd HD formatted as NTFS. With this I was able to use my rsync and backintime to my 2nd HD with no issue. My new set up is EXT4 on both HD.

(I even tried to reformat my 2nd HD as NTFS, but that didnt fix the issue) I followed [URL] to mount the 2nd HD and get permissions. But now when I run backintime i get this error: [E] Error: rsync: opendir "/home/myhome/.ssh" failed: Permission denied (13) I did my requisite reading for a newbie, and am stuck. I ran backintime as root, and it backed up ok. How do I run my user version of backintime? (i.e. How do I fix the permission issue?)

View 9 Replies View Related

General :: Copying Permissions From One File To Another?

Nov 4, 2009

copying permissions from one file to another.I know that command for changing permission is "chmod", for example chmod 666 filename However, I have one file filename1 and by listing all contents of a directory with ls -al I can find out its permissions in form -rwwx and similar. Now I want to define exact same permissions to other file "filename2". How to use chmod command to accomplish this. Other way around would be to simply copy permissions from one file to another. Is there any command for this purpose?

View 3 Replies View Related

Ubuntu :: Don't Have Those Permissions To Copying .img To Drive

May 22, 2010

I accidentally wiped my 120GB external hardrive clean ( it was at about 95% capacity ) and I was able to recover 111.80GB back using ddrescue and all of those files now sit in a Recovery.img file.

1 ) I know I have to mount this file... yet every time I try to mount it back on my external HD permissions jump down my neck, and to add to it when I try to give my user full permissions for that drive it never works and resets to how it was.

2 )I have tried copying to .img to my drive so I could jsut worry about it later and free up some local HD space yet I don't have those permissions as well...

View 9 Replies View Related

Ubuntu Networking :: Samba Setting Permissions Not Correct

Jun 28, 2011

I am experiencing strange difficulties with Samba. The permissions aren't set correctly, when creating a file or a folder on the mounted samba share.

My smb.conf looks as follows:
Code:
[shareOffice]
path = /home/shareOffice
writable = yes
browseable = yes
create mode = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777

Now if I create a regular file on the folder:
Code:
touch testFile; ls -l
The permissions turn out to be:
Code:
-rwxr-xrwx 1 simon share 0 2011-06-28 21:42 testFile

Why the w bit on the group is missing? If I play around with the create mode / force create mode, I get every other possible permission output --- except the write access for group members.

View 3 Replies View Related

Fedora :: Copying Files-No Permissions?

Oct 30, 2010

I was told fedora is great operating system but all i run is into trouble, hours spend on searching for solutions and never get an easy answer as it is on Leopard or even windows 7.What's my problem. I installed a new dvd copy of fedora13, and now connected 2 USB hard drives that seem to connect fine, can access everything but if i try to copy files to one of the drives it says i don't have permissions, and the fields to change permissions access are blank.

View 1 Replies View Related

General :: Correct Way To Shutdown System While Apt-get Still Running

Sep 9, 2011

What's the correct way to shutdown system while apt-get is still running? apt-get complains about unclean shutdown when I just shutdown computer.

View 2 Replies View Related

Ubuntu :: Inherit Parent Folder Permissions When Copying Files ?

Mar 28, 2011

I do have an Ubuntu Headless server which is running Samba on it. My mp3 file collection resides on that server on is being share.

So far, no problems connecting to that drive and writing from my Windows box on that share. But if I use my main laptop, which runs Ubuntu Lucid and download an mp3 song from Amazon, the moment I move that to the share, I got permissions problems from the Windows machine. This is clearly a permission issue with group and others; the song is being created on the share without read and write permissions to others or the samba group I created.

My question is. How can I make this process simple or automatic, when moving songs to the share? I don't want to go there everytime and run ...

Code:

Which was basically how I reset or fixed the problem.

I've read about umask, but not sure if that applies here or not, because I'm not creating the file but moving it.

View 5 Replies View Related

Ubuntu Servers :: Preserving Timestamps And Permissions When Copying To Samba-share

May 5, 2010

My samba-shares are mounted in fstab. Everything works fine except for one small issue: when copying files from the local PC to the share the files are copied but the timestamps and permissions of the files are not. Instead a message "operation not permitted" appears. 'root' on the client can copy files WITH timestamp etc, a normal user cannot.

Below the line in fstab on the client and smb.conf on the server.

View 3 Replies View Related

Ubuntu :: Samba - Get The Correct Default Permissions When Users Create Directories Through Windows?

Apr 1, 2010

I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:

[Code]....

At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:

[Code]...

how I can get the correct default permissions when users create directories through Windows?

View 1 Replies View Related

Fedora Hardware :: Setting Correct Default Permissions On /dev/parport*

Jun 23, 2011

I know - who uses parallel ports any more? People like me with an excellent, but old, HP OfficeJetPro 1150C. This is an old problem marked [SOLVED] in the following link to nowhere:

[URL]

I'm at Fedora 13 - 2.6.34.8-68.fc13.i686.PAE

Problem
1. /dev/parport0 is not found by sane unless you reset permissions after each boot
2. hplip udev rules only seem to support usb devices.
3. there are no/dev/parport[0-9] rules in udev/rules.d anymore
4. Did I read something about these ports being handled by HAL ACLs? If so, how do you do it?

default:
ls -laF /dev/parport0
crw-rw---- 1 root lp 99, 0 Jun 23 07:48 /dev/parport0

must do at each boot: sudo chmod 666 /dev/parport0

View 4 Replies View Related

OpenSUSE Hardware :: Setting Correct Permissions On HAL Mntd Encrypt. Ext HDD?

Jan 10, 2010

I formatted a external 160 GB HDD (Lacie) with EXT3 and encrypted. The formatting went perfect. When I stick it into the USB slot, it is recognized and mounted by HAL. Hal asks me the password and then everything seems ok. But I have no write access. Only root has. I would like to use it to store my user data, externally, but encrypted. How can I set the write permission to make this possible? Why does HAL attribute the write permissions to root, even if I have given the password as user?

Filesystem EXT3
Opensuse 11.1
KDE 3.5

View 9 Replies View Related

OpenSUSE Hardware :: USB Flash Drives Not Mounted With Correct Permissions

Feb 11, 2011

had trouble writing to a flash drive. checked the permissions, the correct user it there, but the id is root.when logged in as root and attempt to change permissions i get Could not modify the ownership of file /media/disk-3. You have insufficient access to the file to perform the change.

now how as root can not have enough permission? i've been up and down the forums and google to no avail. poked around in the fstab and even mtab as there are two files, one a lock, that seems to come from mtab.

View 9 Replies View Related

Fedora Hardware :: External Drive Permissions - Error While Copying

Aug 7, 2011

I've got two external drives that are using ext4 that for whatever reason, I just can't seem to write too. I've changed the permissions on the drives using chmod so the permissions are "drwxrwxrwx". I can even right click within the drive and click "Create New Folder" but then it tells me, "Error while copying to "sdc1". The destination is read-only." I thought the destination permissions were setup so anyone can read/write to the disk? I haven't been using linux that long and have only recently started to feel comfortable to move over all of my stuff to Fedora.

View 6 Replies View Related

General :: OpenSUSE Live CD Stop Copying Files To The System?

Sep 21, 2011

I was trying to install openSUSE11.4 using the Live CD. But when it started copying the root filesystem, it hung on 15% and waited forever. The CD stopped spinning too.

View 1 Replies View Related

General :: No Root File System Is Defined. Please Correct This From The Partitioning Menu?

Apr 29, 2011

From Ubuntu 11.04 installer. What does this mean? how do I do it correctly?

View 11 Replies View Related

General :: User Permissions Vs Rights In System / Difference Between Them?

Aug 9, 2010

What's the difference between user permissions & users rights in linux.

View 1 Replies View Related

General :: Can't Access Folder With Permissions - Part Of System Responsible?

May 5, 2011

I typed in a XTerm in IceWM(knowing I don't have permissions):

[code]...

I can't access that folder with these permissions. Why would it place it in such a folder?! What is in this file? What part of the system is responsible for this/ where do I turn this off?

View 7 Replies View Related

Ubuntu :: Check System Iso Is Correct?

May 9, 2010

I just dloaded ubuntu 10.04 iso, i used firefox and on the way i had to pause n start for about 5 times, when i burned the iso with brasero and booted from it I got an error, but recently I have burned discs with my burner and they never work. So how do i check if the iso is correct or not

View 9 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

Ubuntu :: Backup File System By Copying It?

Jul 3, 2010

basically want i want to do is copy my whole file system to a different hard drive, then reconfigure my partitions and copy it back. then reconfigure grub.

the reason i want to do this is when on dual boot i gave it only 70gb of space and now i want to add 300 more. and since the 300gb of space is a primary partition and this is a secondary i cant extend them or combine them.

so what i want to do is. sudo cp -rP / /home/me/sshfs-folder

also i have raid 0

View 6 Replies View Related

Ubuntu :: File System Is Correct Seems Abit Vunrable?

Mar 6, 2010

I manage to ssh in server ok but when it opens i,m in file system is this correct seems abit vunrable? I would of expected to go to specific folder i.e a shared folder, if this is how it is then so be it

View 6 Replies View Related

Ubuntu Installation :: Copying System Onto Bootable CF Card?

Feb 5, 2010

I am running 8.10 desktop on an MSI Wind desktop. Everything is on the single 500GB hard drive. I also have a 4GB CompactFlash card in the system that has a working version of 8.04 desktop on it. I would like remove 8.04 from the CF card and copy/clone the currently configured 8.10 onto it as a backup just in case I accidentally trash the 8.10 installation on the HDD some time. I'd also like to be able to update the CF backup easily periodically to keep it current with the setup running off the HDD.

The HDD is partitioned as follows.

Code:
ken@pinot:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb2 9843308 800448 8542840 9% /
tmpfs 1032220 0 1032220 0% /lib/init/rw

[Code].....

View 2 Replies View Related

Fedora :: Copying A File System With Dd?

Nov 26, 2009

I want to copy a file system with dd. Most of the forums and how-to's warn that the file system must be unmounted. Otherwise, data could be changing and inconsistent or, at best, there may be open inodes, and the copied file system would need to be recovered the first time it is mounted. However, is it sufficient if the file system is mounted read-only? Or does a file opened with read-only still result in an open inode?

View 2 Replies View Related

Ubuntu Servers :: System Crash When Copying Large File

Jun 15, 2010

I am having a bit of a problem with my Ubuntu Server 10.04 install. I think it might be a kernel problem. Basically, what happens is when I copy a large file (a 160GB disk image) to my drive (>60GB) the system consistently crashes after about 60GB of the file is transferred. It doesn't matter if I am sending the file using cifs, or over SSH. Checking syslog (paste dump here), it seems these flush errors always appear shortly before the crash occurs. The destination filesystem is a hardware RAID 10 array with 2TB of space. It is formatted as EXT4.

View 7 Replies View Related

Fedora :: System Lags While Copying Big Files

Mar 16, 2010

Why system lags so much while working with a lot of files or with big files (copying them, erasing)? How it can be solved? I am running Fedora 12 x86_64 with ext4 filesystem

View 14 Replies View Related

OpenSUSE Network :: NM Setup To Use Correct Host Name On System?

Dec 7, 2010

How I setup my NetworkManager to use the correct host name on my system, if that is possible. NetworkManager ignores the specified hostname and uses 'localhost', which is a bit annoying.

View 9 Replies View Related

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

Debian :: Copying An Existing System To A USB Flash Drive?

Oct 21, 2010

I want to move my "currently installed Debian and its all settings" to a USB flash drive. I am wondering what methods are available out there. I looked into Remastersys but it failed on my system so I am wondering if there is another method available?

View 2 Replies View Related

Ubuntu Installation :: Labtop With Windows 7 - No Root File System Please Correct This From The Partitiong

Apr 8, 2011

I installed

Ubuntu-11.04-beta1-desktop-i386

Ubuntu-10.10-netbook-i386

From windows 7 i select to install on same windows7 partition after installation i select ubuntu and it start up to complete the installation put i get a message: "No root file system please correct this from the partitiong"

I reinstall again on a vartual machine with windows 7 it worked ok;

I installed it with other pc with windows xp it worked ok

I installed on another labtop the same problem occured.

View 9 Replies View Related







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